load( local!a: "some value", local!b: "some value", with( local!validation: "a rule to determine get valid count", a!formLayout( label: cons!EPC_FORM_486_HEADER_TITLE, instructions: "", firstColumnContents: { rule!xyz( ), rule!ABC( ), a!sectionLayout( label: , firstColumnContents: a!checkboxField( ) ), if( some condition, {}, a!sectionLayout( label: , firstColumnContents: { a!checkboxField( ) } ) ) }, buttons: a!buttonLayout( primaryButtons: { a!buttonWidgetSubmit( label: "SUBMIT", confirmMessage: , value: ri!q, saveInto: { a!save( target: ri!p, value: save!value ), a!save( target: ri!r, true ) }, disabled: ri!g = 0 ), a!buttonWidget( label: , style: "NORMAL", value: , saveInto: ri!chooseIndex ) }, secondaryButtons: { a!buttonWidget( label: , confirmMessage: , value: true, saveInto: { ri!c, a!save( ), a!save( ) }, submit: true, validate: false ), a!buttonWidget( label: , value: ri!chooseindex - 2, saveInto: ri!chooseindex ) } ), validations: { a!validationMessage( message: if(and(local!validFRNs.totalCount > 0, ri!r), "Not valid", ""), validateAfter: "SUBMIT" ) } ) ) )