Squiz Custom Form: Validation requirements before submission

(Dalano) #1

Matrix Version:
[Squiz Matrix v5.5.6.4 ]

following custom form needs to have print the requirements settled, how to tolerate validation before form submission ? please help guys ?
–see the layout and snapshots of the draft

aiming to show the requirement message for fields but submit event will skip that alert

so if i remove return directly executes either redirect/submission

(Harinder Singh) #2

Have you tried Jquery Validation? https://github.com/jquery-validation/

Their main website is down at moment. Hopefully, it will be up soon.

(Dalano) #3

Thank you @haringer.singh.

I’d stick with already existing validation that is present into Squiz custom form rather than appending more code.