Page 1 of 1
Button for Popup Window
Posted: Tue Apr 19, 2022 8:35 pm
by Mr71
I inserted an html object in a tab of a form, with the list (in html and php) of the records. I would like to be able to open the edit form of a certain record on which I have created a corresponding button. It is possible without the Button object, those in html created by me do not execute the function with the nuPopup that I inserted in the form properties. The same thing happens if I try to run a simple "Alert" in javascript.
Re: Button for Popup Window
Posted: Tue Apr 19, 2022 11:11 pm
by kev1n
Hi,
I think you will have to show us a screenshot and code to help us understand what you are trying to achieve.
Also, check the developer console for errors.
Re: Button for Popup Window
Posted: Wed Apr 20, 2022 5:10 pm
by Mr71
Hi Kevin, I try to explain myself ...
I don't know if it's possible ...
I built in a tab a html "browse form" customized with the base64 stored image and I would insert a button that allows me to directly access the edit form of the album (already present and that I can see by clicking on the normal browse form). Like Multiple Items Form of MS Access...
this is the tab "dettagli" developed as an html object with php code (procedure) and css in the form properties. Works!!! but not the button "dettaglio"(???!) ....
I had seen the example for the
"subform addresses" on the demo nubuilder. Clicking on the
open button run the edit form of the addresses... Is it possible to adapt the example of the popup addresses of the demo!?
Thanks
Re: Button for Popup Window
Posted: Thu Apr 21, 2022 1:33 am
by kev1n
While creating the buttons, use an
onclick handler which executes calls
nuForm() to open the form with the clicked record.
Re: Button for Popup Window
Posted: Mon Jul 18, 2022 9:01 pm
by kev1n
Is this solved?
Re: Button for Popup Window
Posted: Fri Jul 22, 2022 9:18 pm
by Mr71
no Kevin, also because I have not worked on the project ... but in any case previously I could not find the right code for the button and open the popup of the form and view the specific record ...
I'll try again as soon as I can ...