473,573 Members | 3,209 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@addres s.com?subject=E N$(FORMNO)" enctype="text/plain" subject="New User" name="Enrolment " onsubmit="retur n formCheck(this) ;" id="e_form" language="JavaS cript"><table border="0" width="72%" id="table2" bgcolor="#FFFFC C">
<tr>
<td align="right" width="37%"><p align="left"><f ont color="#0000FF" ><b>Step 1 - Line Managers Details.</b></font></td>
<td align="left" width="62%">&nb sp;</td>
</tr>
<tr>
<td align="right" colspan="2"><p align="left"><f ont size="2"><b>Thi s should be the details of the line manager requesting this e-Enrolment.</b></font></td>
</tr>

<tr>
<td align="right" width="37%"><fo nt size="2">Manage rs User ID:</font></td>
<td align="left" width="62%">&nb sp;<font size="2"><input type="text" name="memail" size="10" maxlength="8" style="text-transform: uppercase" id="manID" onblur=varifyma nager();><font color="#FF0000" >*</font></td>
</tr>

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

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

<tr>
<td align="right" width="37%"><fo nt size="2">Email Address:</font></td>
<td align="left" width="62%"><in put type="text" name="Manager_E mail" size="36" tabindex="3" maxlength="36" id="manemail" onblur="emailva lidation(this, 'Email address is invalid');"><fo nt 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 2560
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
8904
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
1735
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
2809
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
1498
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
3319
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
2153
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
2773
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
1875
by: ApeX | last post by:
Hi guys, i hace a question i have a datagrid col1 col2 ----------------- D text0 text1 text2 D text3
1
1512
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
7661
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7977
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
8165
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
7730
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
6347
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
5550
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
5252
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
3692
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
984
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.