Hi Iso,
Below is the field declaration of section.
{
name:"bi",
defaultValue: "Basic Information",
type: "section",
showIf :"this.form != null",
sectionExpanded: false,
itemIds: [
"code","name"
]}
Both items included in this section are required fields and when I don't include them in section I can see validation errors/ required field errors but when section is collapsed and I click on save, the form is submitted without validation being checked for these fields and I get back end error for PK.
I need to perform validation even if section is closed/ collapsed and if there are errors then section should open on click of save with errors showing up and form not being submitted.
Is my requirement valid?
Thanks.
Below is the field declaration of section.
{
name:"bi",
defaultValue: "Basic Information",
type: "section",
showIf :"this.form != null",
sectionExpanded: false,
itemIds: [
"code","name"
]}
Both items included in this section are required fields and when I don't include them in section I can see validation errors/ required field errors but when section is collapsed and I click on save, the form is submitted without validation being checked for these fields and I get back end error for PK.
I need to perform validation even if section is closed/ collapsed and if there are errors then section should open on click of save with errors showing up and form not being submitted.
Is my requirement valid?
Thanks.
Comment