Issue #735528 by redndahead, nod_, kkaefer, agentrickard, peterpoe, Rob Loach,...
Issue #735528 by redndahead, nod_, kkaefer, agentrickard, peterpoe, Rob Loach, xjm, sun: FAPI #states: Fix conditionals to allow OR and XOR constructions.
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
// Note: WebKit nightlies don't reflect that change correctly.
// See https://bugs.webkit.org/show_bug.cgi?id=23789
}
});
$(document).bind('state:required',function(e){
if (e.trigger){
if (e.value){
$(e.target).closest('.form-item, .form-wrapper').find('label').append('<abbr class="form-required" title="'+Drupal.t('This field is required.')+'">*</abbr>');
$(e.target).closest('.form-item, .form-wrapper').find('label').append('<abbr class="form-required" title="'+Drupal.t('This field is required.')+'">*</abbr>');