Changes between Initial Version and Version 1 of Ticket #15330


Ignore:
Timestamp:
Mar 11, 2019, 2:20:11 PM (6 months ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15330 – Description

    initial v1  
    11When using HTML5 form field validation it is common to think to simply  "highlight invalid input fields when the user clicks submit by making them required". For other fields, adding the Required attribute and a bit of css such as below will highlight the invalid fields. Unfortunately, due to the design of these in JQueryUI checkbox/radio items do not display any affect.
    22
    3 
    4             textarea:invalid, select:invalid, input[type=text]:invalid, input[type=radio]:invalid, input[type=checkbox]:invalid {
    5               border: 2px dashed red;
    6               box-shadow: 0 4px 6px 0 red, 0 6px 18px 0 #D4D400;
    7             }
     3{{{#!css
     4textarea:invalid, select:invalid, input[type=text]:invalid, input[type=radio]:invalid, input[type=checkbox]:invalid {
     5  border: 2px dashed red;
     6  box-shadow: 0 4px 6px 0 red, 0 6px 18px 0 #D4D400;
     7}
     8}}}