merge multiple input fields values into new

wxdqz

New Member
Hi,

Newbie question:
Let's say I have 2 input fields:

<input type="text" name="field1">
<input type="text" name="field2">

How can the values that a user enters for both fields be combined in one string and be passed as a new field, say field3, to the formmailer cgi script (formmail.pl by Matt Wright)?

I would prefer to do this on the form with javascript, not in the cgi.

Thanks in advance,
peter
 
Back
Top