CMS Drupal Mastering Development

$form_state=>setErrorByName/setError on fieldset/container/etc

I have written a custom validation handler for webform that compares two fields. If the fields are in a container/fieldset/etc., I would like to set the error on the container instead of on the fields (since either of the two fields could be the erroneous field). For example, the fieldset is trip-dates, the fields are […]