File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
LearningHub.Nhs.WebUI/Views Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 6767 populate - with - current - values = " true"
6868 radios = " @Model.RoleRadio().ToList()"
6969 hint - text = " "
70- required - client - side - error - message = " Select a role"
70+ required - client - side - error - message = " Error: Select a role"
7171 required = " true" / >
7272
7373 < div class = " nhsuk-form-group" >
Original file line number Diff line number Diff line change 2626 $ (function () {
2727 $ (' form' ).each (function () {
2828 if ($ (this ).data (" validator" )) {
29- var valSettings = $ (this ).data (" validator" ).settings
30- valSettings .highlight = wrap ($ .validator .defaults .highlight , highlightDecorator)
31- valSettings .unhighlight = wrap ($ .validator .defaults .unhighlight , unhighlightDecorator)
29+ var valSettings = $ (this ).data (" validator" ).settings ;
30+ valSettings .highlight = wrap ($ .validator .defaults .highlight , highlightDecorator);
31+ valSettings .unhighlight = wrap ($ .validator .defaults .unhighlight , unhighlightDecorator);
3232 }
3333 });
3434 });
3737 return function () {
3838 var args = Array .prototype .slice .call (arguments );
3939 beforeFunction .apply (this , args);
40-
4140 if (errorElements .length && submitAttempted) {
4241 errorElements[0 ][' obj' ].focus ();
4342 submitAttempted = false ;
You can’t perform that action at this time.
0 commit comments