Blesta Addons Posted February 11, 2016 Report Posted February 11, 2016 i suggest adding the type "email" in the form helper class . that way we can use some validation jquery to that input . input "email" is a standard now in HTML5 . PauloV 1
Tyson Posted February 11, 2016 Report Posted February 11, 2016 that way we can use some validation jquery to that input . What do you mean by this? Also, Form::fieldText is generic. While it defaults to 'text', you can override this with attributes, e.g. // Email field $this->Form->fieldText('name', 'value', array('type' => 'email')); Michael, activa, PauloV and 1 other 4
Blesta Addons Posted February 11, 2016 Author Report Posted February 11, 2016 What do you mean by this? Also, Form::fieldText is generic. While it defaults to 'text', you can override this with attributes, e.g. // Email field $this->Form->fieldText('name', 'value' array('type' => 'email')); ohh , yes , your code is working , i have thought that the input type aren't override by the attributes . PauloV 1
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now