Problem/Motivation

On a webform it is not clear if a 'select options' field is a required field or not.

An error is thrown when the webform is submitted without adding a value for the required select options. Before submitting the webform it is not visually clear that this select options field is required.

Proposed resolution

Add an asterisk to the select options field when this field is required.

Remaining tasks

1. Write a patch
2. Review
3. Commit

User interface changes

None.

API changes

None.

Data model changes

None.

Release notes snippet

Comments

Danny.Wouters created an issue. See original summary.

Danny.Wouters’s picture

Status: Active » Needs review
StatusFileSize
new1.76 KB

This patch adds an asterisk to required select option fields.

Danny.Wouters’s picture

StatusFileSize
new1.76 KB

This is the same patch as in #2 but this patch follows the patch naming conventions of the DvG project.

tvoesenek’s picture

Status: Needs review » Reviewed & tested by the community

Patch looks good, this now works consistently with other input fields.

  • paulvandenburg committed f93a94d on 7.x-1.x
    Issue #3019684 by Danny.Wouters: Make radio buttons visually required in...
paulvandenburg’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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