Closed sfdts closed 1 month ago
@sfdts Hi Steven - Thanks for sharing the workflow for this issue. I tried to recreate it on both the demo site (v16.6) and prealpha, but haven't had any luck. Could you provide a bit more detail or check if you're able to recreate it on the demo site?
@chead4 My apologies on this one. I failed to notice that in my example case there were changes to the defined values of the Countries defined type that had every field marked optional. I do not believe this is a valid bug report anymore and I am going to close this issue.
@sfdts No problem at all! Thanks for getting back to me Steven.
Description
An attribute marked as required on a workflow form using a field of type Address Field is not having proper validation performed. The state sub-field in this automatically has a selection and it appears to have the validation group thinking that this field is indeed saturated/filled out when it is now. This is allowing an empty address with just a state to be submitted.
Actual Behavior
I am able to submit the form with the address field as required and only a state is selected (which is selected by default).
Expected Behavior
If an address field is required, I would expect that an actual complete address must be provided. Furthermore it should stop submission of a form if the address is not provided.
Steps to Reproduce
Example Workflow (for importing)
The boolean show logic in this is not necessary to reproduce this issue. Test Address_202410070637.json
Issue Confirmation
Rock Version
16.6
Client Culture Setting
en-US