Feature #3906 / Mark required inputs with an asterik
Implemented by using a new class ''.required-field'. The class has to be applied to the label. Not implemented is the option, to render the asterix directly on/beside the input (not the label) - probably solved later. qfq-bs.css.les: New CSS class required-field AbstractBuildForm.php: extended buildLable() with new parameter $addClass. BuildFormBootstrap.php: Assign class 'required-field' to label for required fields.
Showing
- extension/qfq/qfq/AbstractBuildForm.php 3 additions, 2 deletionsextension/qfq/qfq/AbstractBuildForm.php
- extension/qfq/qfq/BuildFormBootstrap.php 2 additions, 1 deletionextension/qfq/qfq/BuildFormBootstrap.php
- extension/qfq/qfq/Constants.php 2 additions, 0 deletionsextension/qfq/qfq/Constants.php
- less/qfq-bs.css.less 15 additions, 0 deletionsless/qfq-bs.css.less
Loading
Please register or sign in to comment