I have an adaptive form with about two dozen fields that are marked as required fields, yet somehow I have users that are able to submit their form when some of these fields are empty. I have submitted hundreds of test forms in our test and production environments and am unable to replicate this behaviour.
Does anyone have any suggestions on potential solutions, or avenues of investigation that I can pursue for this issue?
It will be interesting to check what steps these users are following to submit the form. Possible reasons could be browser version, mode of rendering the form, or maybe a difference in user permissions.
I can get on a call with you to check further, please DM the details.
Thanks, I will dm you shortly.
I am not sure about the browser version of the users, but the form is an adaptive HTML form that is rendered when a task is started in a JEE workflow through the Workspace UI. The clients all have the same permissions.
@SeanLapointe For the users who are able to submit try to get the dataxml and prefill and see what is causing the form to break. Force the validation on submit again in the form and see if the issue persists.
Unless I am wrong, the prefill is what is generated and added to the form before the it is rendered and the dataxml is the data that the user submits, right? The prefill does not generate any information for the required fields and the dataxml is missing the information that the user is not adding to the form.
The form is not breaking. I have a stored procedure that inserts the form data to our financial database that is executed after the form is submitted. Since some of the required fields are empty, the SP fails to execute.
How would I re-route the form if the fields are empty, just assign a task to the submitter and use the dataxml to fill the form? This is staring to sound like a lot of work for something that shouldn't be happening in the first place.
FYI, for those following along, all my users are using the same version of Microsoft Edge and our page loads in Edge's IE 11 mode.
The empty fields are all marked as "required" and 99.5% of the time, the form alerts users to the empty fields and fails to submit. It's the .5% that fails that concerns me. If this happened only once or twice a year, I wouldn't worry about it, but it happens once or twice a week.
@SeanLapointe Thanks for explaining the issue further over call!
One of the things worth checking is the pattern of fields (if there is one) that were selected each time by those users when the validation was bypassed on submission.
Meanwhile, as requested, could you please raise a ticket with support so that we can troubleshoot the issue further.