1
0
-1


Hello team,

i need to display the customized modal page once the submit button is clicked, but now i am still getting the default page after the overridden also.please find the below code

Form.submit(item.properties.submissionMethod, item.properties.legacyMethod).then(function(response){
Form.showModal("modalPage")

}, function(err) {

});

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi,

      You can pass another parameter with value true, after item.properties.legacyMethod, to stop the submit from redirecting or showing a success modal page.

      Form.submit(item.properties.submissionMethod, item.properties.legacyMethod, true).then(function(response)
        CommentAdd your comment...