Problem/Motivation

The contents of the Element description/help/more field is not displayed on the form.

Instead the description field is used to display Webform Booking errors. But validation does not work in current 1.1.x version. See #3501857 which fixes the validation of empty required Webform Booking fields.

Also the Webform Booking element produces invalid markup by adding two DIV elements with the same ID.

Element description field

Steps to reproduce

Enter some text in the description field. It is not displayed on the form.

Proposed resolution

Do not override the element's description field. Then use Patch from #3501857 to properly display invalid required Webform Booking field.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

electric.larry created an issue. See original summary.

electric.larry’s picture

Assigned: electric.larry » Unassigned
Status: Active » Needs review
StatusFileSize
new1.45 KB

Here's the patch for 1.1.x.
You should also apply patch from 3501857. It fixes element validation and error handling.

  • rfmarcelino committed 9cb5718f on 1.1.x
    #3501982 - Fix missing element description and invalid markup
    
rfmarcelino’s picture

Status: Needs review » Fixed

Thank you @electric.larry
Added.

rfmarcelino’s picture

Status: Fixed » Closed (fixed)