How to do backend validations for on the data submitted by a embedded form?

@uf-kelvin-low take a look at: Form Server Validations: Generic Form Validator using Javascript

If you don’t like the use of Js you can just swap out the logic for calling a Java class