Reload parent form on cancel
-
- Posts: 20
- Joined: Wed Dec 23, 2015
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
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
Open the child form in Forms Designer and insert the following code into OnClick property of the Cancel button:
Open the child form in Forms Designer and insert the following code into OnClick property of the Cancel button:
Code: Select all
window.frameElement.commitPopup(); return false;
-
- Information
-
Who is online
Users browsing this forum: No registered users and 4 guests