close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Adding additional fields to User Registration Form

Thread began 12/28/2010 8:32 am by tsasokan237086 | Last modified 1/25/2011 3:30 pm by tsasokan237086 | 6021 views | 27 replies


Thanks! I will follow the steps to modify the other pages.

In the users_Registration.php,(which I understand as the input form) is working if the fields are filled up correctly meeting the validation criteria. BUT if any of the field is left balnk
or Captcha entry is wrong, all the entries in the new fields as well as the password fields go blank, and I need to go back and fill them up again

But the original fields you created stays with entry data in place. I did try applying server validation but it is not working. I am pasting below the code for the original field created by you and also the code created for the new field created by me.

The Defult code in the Existing Field Created By You:
<td colspan="5"><span id="sprytextfield3">
<input name="UserLastName" type="text" class="WAATKTextField" id="UserLastName" onBlur="if (document.getElementById('lastNameServerValidation')) document.getElementById('lastNameServerValidation').style.display='none'" value="<?php echo(ValidatedField("usersRegistration","UserLastName")) ?>" size="32" />
<span class="textfieldRequiredMsg">A value is required.</span></span>
if (ValidatedField("usersRegistration","usersRegistration")) {
if ((strpos((",".ValidatedField("usersRegistration","usersRegistration").","), "," . "12" . ",") !== false || "12" == "")) {
if (!(false)) {
<span class="textfieldServerError" id="lastNameServerValidation">
Please enter your last name. </span>
<?php //WAFV_Conditional users_Registration.php usersRegistration(12:)

Here is My Code:
<td>Year:<span id="sprytextfield12">
<input name="UserDobYear" type="text" class="WAATKTextField" id="UserDobYear" value="<?php echo(ValidatedField("usersRegistration","UserDobYear")) ?>">
<span class="textfieldRequiredMsg">Enter the Year</span><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></td>

How should apply the validation to keep the entered data stay in the field while I correct the captcha or other invalid entries?

Thanks for keeping up with me!

TS Asokan

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...