Jump to content

Recommended Posts

Test it out here

http://www.myvee.co.uk/reigster.php

 

If you submit the form with no values, all error fields show up.

Then try put in a location, and submit, error stays there, and the location goes blank (default option)

Then, if you try put in a gender, it takes away the location error on submit. Yet the gender error stays there, also, the gender goes blank (default option)

 

The register form, includes session.php yet, onsubmit, goes to process.php, and session.php uses database.php to insert the values into the database.

 

As you can tell, theres the problem with error fields, could you help.

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/152973-register-form-error-fields/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.