Skip to content

B: Person Attribute Forms Advanced - Mobile Phone required field #192

@guymaness2

Description

@guymaness2

Expected Behavior

When Mobile Phone is added to the form and set as Required, the Mobile Phone label should have the required indicator (red dot) display next to it, and if submit is attempted the label name should appear in the error message being displayed.

Current Behavior

When Mobile Phone is added to the form and set as required, the field is treated as a required field in that the field turns red if blurred past or form submitted while blank. However, there is no required indicator (red dot) next to the field label, and the name of the field is missing from the generated error message if a submit is attempted.

Image

Failure Information (for bugs)

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Set up the block with the Mobile Phone field added to the form, set to required.
  2. Launch the block.
  3. Note that the required indicator (red dot) does not appear next to the "Mobile" label.
  4. Make sure the Mobile field is empty, and submit the form.
  5. Note the "Mobile" label is missing from the generated error.

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • Rock Version: 17.0
  • SQL Server Version: 2022
  • Windows Version:

Failure Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions