It is possible to add custom PHP code to validate the form events like: before insert, after update, etc. Just access the Events menu, on form apps.
It is also possible to validate field events like, change, blur, etc. see the menu Ajax Events