Setting input validation properties?


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


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.

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 ?



Can i have a sample how to use this properties in a save button ?