Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Best practice to handle Touch UI dialog field validation

Anderson_Hamer
Level 4
Level 4

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?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution
Bhuwan_B
Correct answer by
Community Advisor
Community Advisor
5 Replies
Bhuwan_B
Correct answer by
Community Advisor
Community Advisor
Anderson_Hamer
Level 4
Level 4
Thanks Bhuwan. I had already read above article. it is 3.5 years old document just want to know what is the current trend. Someone says Query based validator is deprecated. Can we start validate dialog fields using jQuery? Can you tell what is difference between jQuery validation and foundation-validation?
Bhuwan_B
Community Advisor
Community Advisor
Latest trend is to use Foundation Validation (The one which I have pointed). jQuery-based validator is deprecated starting in AEM 6.2.