Jump to content

Form Validation - To Postback or Not?


webref.eu

Recommended Posts

Hi All

 

I would like the forum's opinions and thoughts on whether when creating a user registration form it is better to post the form back to itself or to post it to a second page.  Currently I favour the latter, but I am a new php coder and would appreciate thoughts from those with more experience. 

 

Thanks All.

Link to comment
https://forums.phpfreaks.com/topic/116630-form-validation-to-postback-or-not/
Share on other sites

I agree, post to the same page.  Mainly due to the fact that if you need to return them to the page again for not filling out a form or an error or something, you don't have to repost the variables when redirecting back to the page for them to fix the errors. 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.