Best Approach to AutoSubmit Outer Section When Submit on Modal Dialog is Clicked
- I have an outer section launched using "Create Work"
- Within that section I have a button that launches a local action in a modal dialog and then finishes assignment
The issue is that the Finish Assignment "event" executes when the "Cancel" or Close(X) button is clicked. I only want to advance the case if the submit is clicked.
Is there a property that gets set when Submit (in the modal) is clicked that I can conditionally execute the Finish Assignment on the button event? The other option is to use my own buttons in the modal dialog but I think that may cause other issues related to why I am using a modal dialog . Any other ideas?