Aug 21st, 2009, 1:24 PM
(Aug 21st, 2009, 12:21 AM)spenny Wrote: I've also run into this problem but have been unable to solve it using the above solution.
I added the line
PHP Code:else
$fields = array_merge($fields, $_POST);
but the page still loses all the form data when server side validation fails.
Can anyone help?
I think it wasn't matter of just "adding" the line to your code. The code we had before had the IFs conditionals nested different.
Make sure you added the other line I posted and also the braces are balanced the same (resulting in a diferent nesting of conditionals)