Best practice to handle Touch UI dialog field validation
In classic UI dialog, you would write a JavaScript function for dialog before/after submitting an event. How do we the same in touch in correct way?
1. Jquery based validator. (I read out that this jQuery based validator is deprecated starting in AEM 6.2. Is that true?)
2. Foundation validation validator
Which one is the recommended one? Any document from Adobe on how to handle field validation?