new save button on user input form

Hi, any one can help me on i want to add new save button apart from save draft option, disabling this auto save draft function keep a new save button until i submit form that user input form data must be draft into the form

  Discussion posts and replies are publicly visible

Parents Reply
  • I wouldn't suggest buttonAction in the cdt as it's primarily used for defining the course of action. But it depends what your requirement is. Say you wannna store the status value in the cdt, you can store it as "DRAFT" when clicked on "Save" and "Confirmed/Initiated/Requested" when clicked on "Submit".  Also, If you need to store that data in DB, I would suggest to call the a!writeToDataStoreEntity() in the saveInto of the "save" button.

Children