because form space is scarce in nubuilder, and it's better to have subforms on main tab i like to share a small snippet.
(its not for Browse in Subform)
It adds a button to subform which resizes it vertically inside form window, giving better overview of the content.
(certainly this is not necessary for all the subforms, but in some cases it's very useful)
![Image](http://kampaaniakuller.com/anc/subform_open.jpg)
![Image](http://kampaaniakuller.com/anc/subform_back.jpg)
Add the file subform_resize.js to a specific form or copy the function to common.js.
In Custom Code->javascript call the function with the subforms Field name.
Code: Select all
function nuLoadThis() {
subform_resize("FMinvoice_item"); //where "FMinvoice_item" is the subform Field Name
}
Hope it helps.
zazzium