I have a form layout with a save button. Validation executes on button click in preview when designing the form, but when the form is opened via link on the record list and and summary view opens, the validation does not execute on button click.
I am at a loss to understand why this is happening. I don't see any settings on the record view that would disable validation.
Any ideas why this is happening?
Discussion posts and replies are publicly visible
Hello Ryan Daniels ,
What validation are you trying to execute on the button click?
All required fields and all validations assigned to "validations" parameters. Both of these work when clicking the primary save button in preview. When the click the save button in preview, required field messages appear, and validation messages from "validations" appear.
I found the issue by accident. I had set the "submit" property to "true". When I removed this, the validation started working in record view :-)
What exactly do you mean with this?
Ryan Daniels said:the form is opened via link on the record list and and summary view opens
We would need a more detailed description of what you want to achieve, what you implemented and what you observe.
Thank you for the reply. The issue was that I had set the "submit" property to true without understanding what it does.
OK. Seems like you are new to Appian, trying to adapt to the way Appian works. Depending on your background, this can be a major challenge.
For your reference, submit when set to true, also sets validate to true (by default). But you can control these parameters individually too.