I have an "Add Items" form that gives the user the option to append in

I have an "Add Items" form that gives the user the option to append information about items they would like to order to an items CDT array. I would like to add a cancel button functionality to the form that allows the user to cancel the "Add Items" form without appending any of the information from the form to the items CDT array. I would however like to append the array if the user selects a save items button.

I have tried to configure a way using the if function to only append the CDT if the save items button is selected, however it always appends something in the items array.

Is there a way to only save information in an array from a form if a certain button option is selected and if a different button is selected it will NOT append that item to the array. Thanks. ...

OriginalPostID-92277

OriginalPostID-92277

  Discussion posts and replies are publicly visible