Forums

refresh the data server side validation

mismamentetu2009 02 Jun, 2009
Hi,

I just buy the license ChronoForms for the support you have given me earlier and I'm sorry if I am asking you, I'm a newbie.


My question, can I reload the form data when I sent back for failing to meet any condition of the server side validation code?

Server Side Validation Code:

 if (JRequest::getVar('pass') != JRequest::getVar('pass_2')){
    return 'Error, The Passwords are incorrect';
  }



My situation is as follows: When he returned to form to show the errors in the server side validation, all fields are left empty when you've completed the above. What I want is that when I display the error, I see again the information I have previously completed.

Can this be done?

Thank you.
GreyHead 02 Jun, 2009
Hi mismamentetu2009,

Set 'Republish fields if wrong submission ?' to 'Try to republish' on the Anti-spam tab.

Bob
mismamentetu2009 02 Jun, 2009
Thank you very much Bob, that was starting to confuse me and was sending the variables from the fields to the web form and did not leave.
mismamentetu2009 02 Jun, 2009
And as to the form would not have image verification?
mismamentetu2009 02 Jun, 2009
Sorry, I just give an account that has nothing to do. Thank you
This topic is locked and no more replies can be posted.