Chaining Validation
Chaining Validation
darrencassar
Posts: 1Questions: 1Answers: 0
Hi,
In https://datatables.net/forums/discussion/24472/chained-validation chained validation is said to be possible in v1.4 of datatables but I'm testing the viability of datatables.editor 1.5.6 and I'm still unable to chain validations. Can you please suggest how I can exclude any XSS as well as validate min and max or numeric or not empty etc.
cheers,
Darren
This discussion has been closed.
Answers
Hi Darren,
You should indeed be able to chain validation - for example:
(assuming you are using the PHP libraries? The same basic idea works with .NET as well)
Allan