Page 1 of 1

nuPopup empty

Posted: Thu May 17, 2018 11:07 am
by Timo
With nuPopup("FF2", '','') I open a browse form in a popup window, it appears very narrow and I cannot see any columns. It works with an Edit Form but not with a Browse only form.
I entered the function in the console and tried to run it from a button.
popupempty.png
properties.png

Re: nuPopup empty

Posted: Fri May 18, 2018 7:06 am
by Timo
I just have done a fresh install. However, the form still doesn't show the columns. What's going wrong?

Re: nuPopup empty

Posted: Sat May 19, 2018 1:46 am
by admin
Timo,

You need to create some columns for you Browse Form.
browsecolumns.png
nocolumns.png

Steven

Re: nuPopup empty

Posted: Sat May 19, 2018 1:51 am
by Timo
Browse columns are there, they just don't appear when I open the form with nuPopup
The form appears normal if run from a button in a normal window

Re: nuPopup empty

Posted: Sun May 20, 2018 11:59 pm
by admin
.

Re: nuPopup empty

Posted: Mon May 21, 2018 6:59 am
by toms
The first parameter is the form id, not form code.

Wrong:

Code: Select all

nuPopup('FF2','');
Correct:

Code: Select all

nuPopup('5a6da2f05389af0','');
// replace with your form id (zzzzsys_form.zzzzsys_form_id)

Re: nuPopup empty

Posted: Mon May 21, 2018 10:59 am
by admin
Timo,

toms has nailed it!

I didn't notice the first parameter.

Steven

Re: nuPopup empty

Posted: Mon May 21, 2018 4:40 pm
by Timo
thank you, it opens corretly now :D

Re: nuPopup empty

Posted: Mon May 21, 2018 11:59 pm
by admin
.