Closed adam-clarey closed 8 years ago
This was implemented a while back but not fully finished until i noticed it just now.
Now to submit a form that does not redirect but shows messages you push objects to:
data.messages
data.messages.push({ "type" : "info", "message" : "Successfully saved" });
To redirect to set data.callback = 'path';
Ive updated the docs here https://github.com/CityWebConsultants/Iris/wiki/Form-system#registering-a-validate-handler
+1 but when I see well written explanations like this, it makes me think they should be in a doc somewhere also
This was implemented a while back but not fully finished until i noticed it just now.
Now to submit a form that does not redirect but shows messages you push objects to:
data.messages
To redirect to set data.callback = 'path';
Ive updated the docs here https://github.com/CityWebConsultants/Iris/wiki/Form-system#registering-a-validate-handler