Forum Moderators: mack

Message Too Old, No Replies

Labeling Form Results

         

Vighpyr

3:36 pm on Jun 14, 2006 (gmt 0)

10+ Year Member



Hi all,

I hope this is a relatively easy question. I've created a form to collect registration information and to send it to an email address. That part is working fine. What I need is a way to put labels on the form data once it's sent to the email account. For example, the user enters a Work Phone, Home Phone, Fax Phone and Mobile phone. Well in the email message, there's no way to distinguish one number from the other without a label of some type beside each.

Any ideas? Thanks!

Brett_Tabke

11:29 am on Jun 15, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



First, welcome to the forums - thanks for joining us.

What you are asking is certainly possible. However, it will require modifying the program that is sending you the email. That would be outside the scope of the forums really.

I would try looking at another program that does a bit more of what you are looking for...

bt

mack

11:29 pm on Jun 16, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Are you using a script to send the email or are you using the mailto property to send the form data directly to an email address?

If you are using a script then you should be able to modify the code to add additional information to the items being sent, for example simply adding...
Home tel:[code to display number]
would at least allow you to break the information up into human readable data.

If you are simply using a form that used mailto then you could do something similar you could actually cheat and place hidden fields containing the field names right next to the related vales..
[name of field][actual field]

I assume the main problem you have is when a user does not fill in all fields and sends the form. It is difficult to determine what field is what because you may be missing a few.

A way to cheat would be to have a default value for each field.

"put home number here..." in the form. At least this way when the form is sent you at least have something to retain the data order.

Hope this helps.

Mack.