473,516 Members | 2,737 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem text box, concatenating with next line...

57 New Member
Hi all.

I have a form which has a table and within the rows of the table are simple text input boxes. The ONLY problems with this is that when the form is posted (in text format) if the number of characters in a text box goes over 30 the next text box is concatenated in the email which the form sends!!

The table with the boxes is here....

[HTML]
<form method="post" action="mailto:an.email@address.com?subject=EN$(FO RMNO)" enctype="text/plain" subject="New User" name="Enrolment" onsubmit="return formCheck(this);" id="e_form" language="JavaScript"><table border="0" width="72%" id="table2" bgcolor="#FFFFCC">
<tr>
<td align="right" width="37%"><p align="left"><font color="#0000FF"><b>Step 1 - Line Managers Details.</b></font></td>
<td align="left" width="62%">&nbsp;</td>
</tr>
<tr>
<td align="right" colspan="2"><p align="left"><font size="2"><b>This should be the details of the line manager requesting this e-Enrolment.</b></font></td>
</tr>

<tr>
<td align="right" width="37%"><font size="2">Managers User ID:</font></td>
<td align="left" width="62%">&nbsp;<font size="2"><input type="text" name="memail" size="10" maxlength="8" style="text-transform: uppercase" id="manID" onblur=varifymanager();><font color="#FF0000">*</font></td>
</tr>

<tr>
<td align="right" width="37%"><font size="2">Name:</font></td>
<td align="left" width="62%">&nbsp;<input type="text" name="Manager_Name" size="75" tabindex="75" maxlength="36"><font color="#FF0000">*</font></td>
</tr>

<tr>
<td align="right" width="37%"><font size="2">Job Title:</font></td>
<td align="left" width="62%"><input type="text" name="MJT" size="75" tabindex="2" maxlength="75"></td>
</tr>

<tr>
<td align="right" width="37%"><font size="2">Email Address:</font></td>
<td align="left" width="62%"><input type="text" name="Manager_Email" size="36" tabindex="3" maxlength="36" id="manemail" onblur="emailvalidation(this, 'Email address is invalid');"><font color="#FF0000">*</font></td>
</tr>
</table>[/HTML]

The email which is produced looks like this...

memail=testline
Manager_Name=Someones name
MJT=Someones job title which goes over thirty characters in length blah blah blah blah blah Manager_Email=someones@email.work
enr_type=Existing User

So you can see the MJT Manager_Email field has joined the end of the MJT field.

I cant for the life of me figure out why..

It happens with all text boxes on the form, but if they are under 30 they line up individually on the form.

It's causing massive problems as the systems which picks up the email can only be programed to extract the data for line numbers, so the concatenation throws it all out.

Any suggestions would be greatly welcomed.
Sep 20 '07 #1
1 2553
plumba
57 New Member
Ok so in the above, the example disaplyed in the forum looks like its on seperate lines, but the MJT=Someones job title which goes over thirty characters in length blah blah Manager_Email=someones@email.work

It does in the email appear on one line.
Sep 20 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
8900
by: xyz | last post by:
I have a form that has a text box that allows multi-line text. When I read an 80K file into it, only 64K characters are stored and displayed. However, if I copy from the 80K file using the Windows clipboard commands and then paste into the text box, all the characters are stored and displayed. This is how I read the file into the text...
14
1732
by: foodic | last post by:
i am fresher to C++ programming, and I just want to learn Concatenating Calls, I have written a program, class SetMe { public: void setX(int x) {_x = x;} void setY(int y) {_y = y;} void doubleMe()
7
2805
by: Kay | last post by:
1) If i want to read data from a txt file, eg John; 23; a Mary; 16; i How can I read the above data stopping reading b4 each semi-colon and save it in three different variables ? 2) If I enter a number, can I use to call a particular node ? eg enter a number: 3 calling node of number 3 is it possible ?
5
1494
by: Doug Gifford | last post by:
WROX "Beginning VB.Net" 2nd Edition Using this code from Chapter 11 Page 472: Do Try ' Read a line from the file... currentLine = myReader.ReadLine lineCounter = lineCounter + 1 Catch e As EndOfStreamException ' Display the message...
13
3310
by: WALDO | last post by:
I have a .Net TextBox (TextBoxBase, really) in which I am appending about 20 lines of text per second. I use the AppendText() method to accomplish this. This is a great substitute for taking the Text property and concatenating it... Me.tb.Text &= newText ' Instead use Me.tb.AppendText(newText) ....ultimately setting the SelectionStart...
5
2143
by: explode | last post by:
I made a procedure Public Sub Novo(ByVal nova1 As String, ByVal nova2 As String) that creates a new oledbDataAdapter with insert update select and delete commads. I also added that commands can change depending how many columns are in a Table. I add a new column with this code: Private Sub Button4_Click(ByVal sender As System.Object, ByVal...
7
2762
by: Mary | last post by:
I have a student who has a hyphenated first name. If I concatenate the name like this: StudentName:( & ", " & ), it works as expected. If, however, I try to get the first name first by concatenating like this: StudentName: ( & " " & ), only the first name appears. I sure would appreciate any help! Mary
29
1863
by: ApeX | last post by:
Hi guys, i hace a question i have a datagrid col1 col2 ----------------- D text0 text1 text2 D text3
1
1503
by: plumba | last post by:
Hi all I'm not sure what or if there is an explanation for this but.... I have a html form, which contains textboxes. The form sends this way: form method="post" action="mailto:anemail@work.com?subject=form enctype="text/plain" so it's recieved in a simple email. Here's the problem: If the textbox contains spaces the resulting email seems...
0
7408
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7581
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7142
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5714
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5110
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4773
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3259
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1624
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
825
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.