I'm looking for the 'best practice' in handling the validation section on dynamic forms. When I load a new form I am overwriting the elements of the form. Some of the forms have unique validation functions. I see how to do this by passing the object on the generic save and checking if input elements exist and if so perform the validation. This means that for example I need to check if there is a password file on each form (when in reality it is on one form) . Is there a way of loading the validation section from an external json file? I am happy that the main functions are loaded at initiation but would like the calls to come from the loaded validation file. If this is possible, is it possible to load the elements and validation sections in one ajax call (I could also use this for contextual menus as well) Many thanks Clive
It looks like you're new here. If you want to get involved, click one of these buttons!