Reload parent form on cancel

rss

Posted by charles267 - Jul 26 ’16 at 06:58

If a parent form has a related list, clicking the "Save" button will save the results of the child form and then reload the parent form to show the updated content (e.g. the newly saved child form).  We have an instance where we would like the cancel button on the child related list form to refresh the parent form when the child form closes.  In other words, we want the same refresh as the save button without actually saving the form.

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 8 years 4 months 1 day
    #1 by Dmitry Kozlov Jul 27 ’16 at 07:43

    Hi,

    Open the child form in Forms Designer and insert the following code into OnClick property of the Cancel button:

    window.frameElement.commitPopup(); return false;
Displaying 1 to 1 of 1 messages