I have a from with two fields (name and email). When this page is submitted, it brings them to another page and I would like to split the name field into two fields (firstname and lastname).
Any tips on how I can accomplish this would be appreciated.
Thanks,
Scott
Code:
<INPUT TYPE="text" NAME="name" SIZE="40" maxlength="40">
<INPUT TYPE="text" NAME="email" SIZE="40" maxlength="40">
Code:
<cfoutput><INPUT TYPE="text" NAME="firstname" SIZE="40" maxlength="40" value="#form.name#"></cfoutput>
<cfoutput><INPUT TYPE="text" NAME="lastname" SIZE="40" maxlength="40" value="form.#name#"></cfoutput>
<cfoutput><INPUT TYPE="text" NAME="email" SIZE="40" maxlength="40" value="#form.email#"></cfoutput>
Any tips on how I can accomplish this would be appreciated.
Thanks,
Scott