JenkinsDev/Validatinator

Data attributes

Closed this issue · 1 comments

(not an issue, merely a question) Is it possible to initiate the form validation based on data attributes?
eg:
<input type="text" name="my-fields-name-attribute" data-required="true">

It's not possible at this time, and I'm not sure if it's in the scope of Validatinator, really. Initially Validatinator was created to somewhat closely mirror what Laravel had (possibly still has, haven't used it in awhile) on the form validation side.