PostSaveAction in Modern

Home Forums Modern DFFS PostSaveAction in Modern

Viewing 2 reply threads
  • Author
    Posts
    • #38485
      Jeff Lynch
      Participant

        Is there a way to determine if the user clicked “Save and open in edit mode” OR if they clicked “Save and exit” with javascript. There are parameters (exit, autosave), but the exit parameter is true for save and edit AND save and exit. The reason for this is we would like to run dffs_PostSaveAction and do a redirect but only when saving and not going to edit.

      • #38489
        Alexander Bautz
        Keymaster

          Hi,
          I’ll add this info as a third parameter (boolean) to the function in the next version – so you can use it like this from v1.1.4.0:

          function dffs_PreSaveAction(exit, autosave, goToEditForm){
            // Your own code here
          }
          

          I hope to get the new version out later this week.

          Alexander

        • #38491
          Jeff Lynch
          Participant

            Thank you!

        Viewing 2 reply threads
        • You must be logged in to reply to this topic.