Help in Calback validationEngine

2

I am using validationEngine for a form validation and submission after everything is completed. So far so good. However, I need to recover some data from the registry after confirmation.

Once the user fills in the data, he submits the form, the data will be recorded in the database. So far so good, but when it submits the form it is rendered in a Modal window, and I need the return in this Modal window to come up with some data that the customer has filled out to show him a friendly answer.

  

Example- (Congratulations so and so ), your registration was made with   successful, an email will be sent to [email protected] with   the access information!)

Calback's answer has to always be true , and I'd like to get more data back in the status, otherwise it will not work, can anyone give me a light?

jQuery("#form").validationEngine({
   scroll: false,
   ajaxFormValidation: true,
   ajaxFormValidationMethod: "post",
   ajaxFormValidationURL: "phpajax/processa.php",      
   onAjaxFormComplete: ajaxValidationCallback,     
});

function ajaxValidationCallback(status, form, options){
   if (console) 
      console.log(status);
      alert(status)
   if (status === true) {
      alert("Ok");
   }
}
    
asked by anonymous 26.10.2016 / 14:44

0 answers