Stop saving after a check in before save
Posted: Wed Jul 16, 2014 4:43 pm
Hi
I need to do this:
After I have compiled an edit form, I want to do a check into the database on another table to see if there is a correspondence between data. If yes, the program must save, otherwise it must display an alert and avoid saving.
So it's possible to stop nuBuilder from saving data after a check in Custom Code/Before Save, like "return false" in Javascript?
Thank you
Alex
I need to do this:
After I have compiled an edit form, I want to do a check into the database on another table to see if there is a correspondence between data. If yes, the program must save, otherwise it must display an alert and avoid saving.
So it's possible to stop nuBuilder from saving data after a check in Custom Code/Before Save, like "return false" in Javascript?
Thank you
Alex