To replicate,

1. add a Number field to a Webform
2. Key in some text for the description
3. Key in something for the prefix text (such as '$')
4. Select the 'Description above field' option
5. Save

When you view the webform, the description displays between the field prefix and the field. I would expect the description to display above BOTH the prefix and the field (with the prefix and field being on the same line).

Drupal 7.50
Bartik (theme) 7.50

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

3rik5 created an issue. See original summary.

DanChadwick’s picture

Confirmed. Patches welcome.

daiwik.addweb’s picture

PFA patch working fine along with its after - before screenshots.

daiwik.addweb’s picture

Status: Active » Needs review

  • DanChadwick committed 23db027 on 7.x-4.x
    Issue #2784455 by Roshni Patel, 3rik5: Fixed description displays...
DanChadwick’s picture

Status: Needs review » Fixed

Thanks! Committed to 7.x-4.x.

DanChadwick’s picture

Version: 7.x-4.x-dev » 8.x-4.x-dev
Category: Bug report » Task
Status: Fixed » Patch (to be ported)
daiwik.addweb’s picture

Thanks @DanChadwick for committing the patch. Would be awaiting for the credit :)

DanChadwick’s picture

@Roshni Patel - You are credited.

daiwik.addweb’s picture

@DanChadwick: Thanks, but I cannot see any credited issue over my profile. Any help would be appreciated.

DanChadwick’s picture

daiwik.addweb’s picture

@DanChadwick: Awaiting for credit. I cannot see any credit added over my profile. Can you please make this rolling ASAP and also mark this issue as Closed (fixed).

fenstrat’s picture

Version: 8.x-4.x-dev » 7.x-4.x-dev
Category: Task » Bug report
Status: Patch (to be ported) » Fixed

Closing to clear out the old Webform 8.x-4.x branch. See #2827845: [roadmap] YAML Form 8.x-1.x to Webform 8.x-5.x.

  • DanChadwick committed 23db027 on 8.x-5.x
    Issue #2784455 by Roshni Patel, 3rik5: Fixed description displays...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.