Error Clears User Data on Form

NateMail, ProcessForm, JavaScript Form Validator, Form Security, etc.
Posts: 3
Joined: 09/14/2009 @ 13:11

Error Clears User Data on Form

Postby duce501 » 09/16/2009 @ 12:50

I installed processform and it works great with captcha.

The issue is, because it is processing the PHP and then reporting an error, when you hit back if the correct fields aren't completed,a valid email isn't given, or the security code/image is wrong the user input data is removed and the form is blank again.

That will be annoying to our users. Is there a way to fix this? Maybe a popup error window instead of new page?

Can anyone help?

Nate Baldwin
Site Admin
Posts: 3724
Joined: 04/25/2003 @ 19:05

Re: Error Clears User Data on Form

Postby Nate Baldwin » 09/17/2009 @ 07:54

Hi - I thought you were using JavaScript to check for errors before the form is submitted? That's how I usually deal with it... let the JavaScript check for errors, and just use the PHP error checking as back-up for when JavaScript is disabled. Otherwise, back button (or link) isn't particularly consistent on different browsers/environments.

Return to “Form Processing (NateMail, ProcessForm)”

Who is online

Users browsing this forum: No registered users and 2 guests