Welcome Guest, Not a member yet? Register   Sign In
Adding additional validation rules to forms

So i have a form that uses the standard form validation class and that works just fine. Once the form is validated i use the data to call an API. I'm trying to make sure if that API call fails that my form returns back re-populated with the error message. Any suggestions on how i can somehow include this API call as a part of the form validation?

Is this really a dumb question or does know one know?

you should try callback functions, its all explained in the userguide

Theme © iAndrew 2016 - Forum software by © MyBB