1
0
-1

How can you open a new modal dialog using JavaScript in Composer? The use case is to have the 'Okay' button of one dialog trigger a second dialog to open.

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      sfcGenerated.openDialog(formMode, function(){sfc.fireEvent("evtDialogOpen",dialogNode,null)});

      where formMode is the string value in "Show in Form Mode" on the dialog properties and dialogNode is the node reference to the dialog.

        CommentAdd your comment...