Form not getting validated on "Record Type" but working fine when testing the interface.

Certified Senior Developer

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

Parents Reply Children
No Data