Setting input validation properties?

Hi 


Is there anyway I can set input validation properties like "required" and "autofocus" please?

Thanks

that would be nice as would adding either the HTML5 validation types (email, number etc) and pattern (this also includes required as a keyword) to the TWebEdit control to make life simpler. However, I guess you can do that in CSS or in the template.


https://www.the-art-of-web.com/html/html5-form-validation/

Simplest and most flexible solution would be to have a standard CustomAttributes string property where we could add such things, which could then be added to the tag.

We will expose required & autofocus on input controls

Great thanks.


Could you include the "Pattern" attribute too ?


Definitely!

:slightly_smiling_face: