Jun 13th, 2012, 11:20 AM
I have now added the following line so field "username" is hidden and composed of the First Name and Last Name submitted with no spaces.
First Name : John
Last Name : Taggart
Username : JohnTaggart
I had to gather up the Posted Values THIS way because apparently the FormTools code to re-populate fields can only return POSTED values that the user typed into the fields themselves. Therefore, for a hidden field I had to use the following --
<input name="username" type="hidden" value="<?=$HTTP_POST_VARS["fname"]?><?=$HTTP_POST_VARS["lname"]?>" />
First Name : John
Last Name : Taggart
Username : JohnTaggart
I had to gather up the Posted Values THIS way because apparently the FormTools code to re-populate fields can only return POSTED values that the user typed into the fields themselves. Therefore, for a hidden field I had to use the following --
<input name="username" type="hidden" value="<?=$HTTP_POST_VARS["fname"]?><?=$HTTP_POST_VARS["lname"]?>" />