Need to concatenate two form fields and pass the result with the form submission.
<FORM name="frm_Join" METHOD="POST" ACTION="http://www.aweber.com/scripts/newlead.pl
<input type="text" name="custom txt_FirstName" id="firstname">
<input type="text" name="custom txt_LastName" id="lastname">
var jFirstName = document.getElementById("f
var jLastName = document.getElementById("l
var jFullName = jFirstName + " " + jLastName
value = jFullName
// End -->
<INPUT TYPE="HIDDEN" NAME="FullName" value="FirstName LastName">
For the hidden FullName field to pass a concatenation of FirstName+" "+LastName when the form is submitted.
The name of the FirstName and LastName input fields has to be two words, starting with "custom". That is a requirement of the Perl target script. That's why I'm trying to use ID.
Thanks in advance for any help.
- Bill H.