Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Popup a form passing the patient id

Questions related to customising nuBuilder Forte with JavaScript or PHP.
Post Reply
yvesf
Posts: 315
Joined: Sun Mar 14, 2021 8:48 am
Location: Geneva
Has thanked: 87 times
Been thanked: 11 times

Popup a form passing the patient id

Unread post by yvesf »

Hi,

I would like to open a popup form from a main form and pass the patient_id to the popup using the onclick event of a button. I believe nuPopup is the right function for this, but I haven’t found a way to pass this variable in edit mode to the popup.

Thanks for your help,
Yves
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Popup a form passing the patient id

Unread post by kev1n »

Set a hash cookie with nuSetPropety(...) before opening the popup and then retrieve it in the popup window with parent.nuGetProperty(....)
Post Reply