Hi guys !
In a form, there is an iframe which runs a browse form (this form is related to the same table that the parent form). I would like to refresh data of the parent form when I select a line in the browse into the iframe object.
I think I have to use the Javascript function "nuForm(string1, string2, string3, string4, string5)" (added in the custom code form of the iframe object) but with what should I replace the variable "string5" in the function ?
Indeed, the value 1 enables to open Form in the current Breadcrumb i.e into the iframe object but not in the parent form.
Thanks for ur help !
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Refresh data (another existing record) in the current window
-
- Posts: 45
- Joined: Mon Sep 02, 2019 11:54 am
-
- Posts: 45
- Joined: Mon Sep 02, 2019 11:54 am
Re: Refresh data (another existing record) in the current wi
This action update data in the iframe object and not in the main form.
Sorry, I may not have been clear. The main form displays the details of a client's last order. The iframe object runs a browse form displaying the customer's order history.
I would like the main form displays the details of the order previously selected in the iframe object.
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 448 times
- Contact:
Re: Refresh data (another existing record) in the current wi
This will refresh the parent form, when this code is added to the (browse) form's Javascript field.
https://wiki.nubuilder.cloud/ ... lectBrowse
Code: Select all
function nuSelectBrowse(e) {
parent.nuGetBreadcrumb();
}
Last edited by kev1n on Tue Jan 14, 2020 2:20 pm, edited 1 time in total.
-
- Posts: 45
- Joined: Mon Sep 02, 2019 11:54 am