Rock icon indicating copy to clipboard operation
Rock copied to clipboard

Person Entry Form Does Not Prevent Person Profile Creation for First Names containing "and"

Open dataCollegechurch opened this issue 2 years ago • 1 comments

Description

There is logic in the workflow form action to prevent users from submitting forms where the first name contains "and" or "&". While the form does prevent these submissions, it still generates a profile every time a user attempts to submit the form.

Actual Behavior

Workflow Person Entry Forms generate new person records every time a submission is attempted with a first name containing "and" or "&".

Expected Behavior

Workflow Person Entry Forms will not generate a new person records when a submission is attempted with a first name containing "and" or "&".

Steps to Reproduce

On the demo site.

  1. Create a new workflow that uses the form action and has the person entry option checked. Test Person Entry And Prevention_202403281002.json
  2. Navigate to a page containing the Workflow Entry Block
  3. Attempt a submission with "and" in the first name image
  4. See issue image

Issue Confirmation

  • [X] Perform a search on the Github Issues to see if your bug or enhancement is already reported.
  • [X] Try to reproduce the problem on a fresh install or on the demo site.

Rock Version

16.0 on our site / 16.2 on demo site

Client Culture Setting

en-US

dataCollegechurch avatar Mar 28 '24 17:03 dataCollegechurch

I don't believe the First Name validation is currently documented in any manual but I did see that it was potentially added to other blocks based on this Idea post: First Name Validation Idea

I have not checked but other blocks may be affected by the issue indicated above.

dataCollegechurch avatar Mar 29 '24 21:03 dataCollegechurch