Hello everyone.
I need help.
Am working on a process model for a MILESTONE (BAR) PATTERN interface. When I lunch "Start Process for Debugging", the MILESTONE form load for me to input data. After inputting data, I click next and the next step load until I get to the final step, and I click the submit but nothing happens when I click the submit button. The submit button will not submit the form. Thank you for your assistance.
a!columnsLayout( columns: { a!columnLayout( contents: { a!buttonArrayLayout( buttons: { a!buttonWidget( label: "Back", value: local!currentMilestoneBarStep - 1, saveInto: local!currentMilestoneBarStep, style: "NORMAL", showWhen: local!currentMilestoneBarStep > 1 ), a!buttonWidget( label: cons!GCO_TEXT_VALUE_CANCEL, style: if( local!currentMilestoneBarStep = 1, "NORMAL", "LINK" ) ) }, align: "START" ) } ), a!columnLayout( contents: { a!buttonArrayLayout( buttons: a!buttonWidget( label: if( local!currentMilestoneBarStep = length(local!milestoneBarSteps), "Submit", "Next" ), saveInto: if( local!currentMilestoneBarStep = length(local!milestoneBarSteps), { }, a!save( local!currentMilestoneBarStep, local!currentMilestoneBarStep + 1 ) ), style: "PRIMARY" ) ) }
Discussion posts and replies are publicly visible
Hello danielo,welcome to the community. hint: try to use the insert code functionality. this makes the life of the reader way easier.and as deepak said.read the parameters in the documentationhttps://docs.appian.com/suite/help/23.2/Button_Component.html
Submit
submit
Boolean
Determines whether this button submits a form after saving its value.
you need a submit:true in your widget
Hi Richard.
Thank you for your insight. Duly noted. I was able to solve the issue with submit: true() configuration. Thanks again