Would be a good feature if activeInputField could be extended to make use of HTML5 validation where matching rules apply.
e.g. If I have a required rule the "required" attribute would be included with the input html.
Page 1 of 1
CHtml::activeInputField, HTML5 and rules
#2
Posted 21 June 2012 - 09:53 AM
This will prevent custom error messages to be displayed. Also it will behave very different from the rest of fields.
#3
Posted 28 July 2012 - 06:08 AM
Since HTML5 validation isn't supported by all major browsers I think it's not a good idea to make this kind of validation.
Share this topic:
Page 1 of 1

Help













