Click to See Complete Forum and Search --> : how can i transfer content from one form to another ?


munna
07-21-2003, 04:44 PM
Bit of a newbie question --
I have a form with multiple fields -- check-boxes, options, and text boxes. What I want to do is transfer the data put in by users into a hidden form, so that when the user clicks "submit", the data from the hidden form is e-mailed to me. I thought that way instead of having different field=value pairs in my e-mail, I could have it so that its nicely formatted in one sentence, like "(username) likes the (pagename) and (otherpage), has visited this site (5-10 times), and sends this message (textarea content)". Is it possible to do this? Can anyone tell me how?

David Harrison
07-21-2003, 05:47 PM
Try something like this:

munna
07-24-2003, 05:26 AM
Hi there,
I tried to adapt Lavalamp's suggested script for my page, but it doesn't work! I can't see why, and its driving me mad! If I post the whole script on the forum (its not too long), please could you take a look and see where I'm going wrong?
Thanks so much for this. I've only just started learning javascript and don't really know enought to debug the script.
Munna

David Harrison
07-24-2003, 03:06 PM
Did you upload the right file, all that's in it is this:

Fred|Doe|noone@asp101.com
John|Doe|noone@asp101.com
Jane|Doe|noone@asp101.com
Nancy|Doe|noone@asp101.com

munna
07-27-2003, 07:24 PM
Lavalamp --
I'm so sorry! I uploaded the wrong file by mistake. Anyway -- here's the right one now (fingers crossed!) Any help will be great.
thanks so much.

munna
07-29-2003, 09:31 AM
Hi,
Please can someone take a look at the script I uploaded earlier (see my posts above) and tell me where I'm going wrong? I've only just started learning javascript and don't really know enough to debug the script, but really want to know what my mistake is.
thnk you so much
munna