Jump to content

[SOLVED] Repopulating a form after error checking?


cooldude832

Recommended Posts

The best way to do this would probably be to post the data to the same page and use the echo to add the post data to the values in the form elements. set wrong values color to red with error.

 

you can do that and once that data is correct use header file to go to the next page and once its wrong make it stay on the same page and echo the error message no SESSION or GET needed ... it all in the same page why would you use those just add a condition for that  ;)

Link to comment
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.