Closing a form dialog box programmatically

  • 20 June 2016
  • 1 reply
  • 1 view

Badge +8

I have a listview on a form.    When I click on the item,  a dialog box is displayed.   There is a button on that form.    When pressed the final thing I want to do is to programmatically  close the dialog and return to the parent form.    Is there anyway to do this?


1 reply

Badge +8

I did it by clicking the existing Close button.

NWF$(".nf-disableonsubmit[value=Close]").click();

Reply