Hi, I have a form which has an edit button on it which is on the summary page and not added as a related action as per client's requirement. The form is working just fine will all the validations upon clicking on "Submit" button. But when opened a record from the record type and trying to click on "Submit", the form just goes forward without validating anything. Any suggestions would be helpful.
a!buttonLayout( primaryButtons: { a!buttonWidget( label: "Submit", submit: true, value: "submit", validate: true, style: "PRIMARY", saveInto: { local!submit, a!save({ local!edit, local!cancel }, null), }, ) } )
Discussion posts and replies are publicly visible
Assuming this is not a user input task, try making submit as false but validate as true. This might solve the problem.