Kev1n ,
Work now ...
but ... after save the entire form I have this
If I continue to add records I have this
Thanks .
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.
Subform with specific numbers of records
-
- Posts: 132
- Joined: Sun Dec 16, 2018 6:13 pm
- Location: România
- Has thanked: 30 times
- Been thanked: 4 times
Re: Subform with specific numbers of records
You do not have the required permissions to view the files attached to this post.
nuBuilderForte .... BIG Like !!!
-
- nuBuilder Team
- Posts: 4416
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 74 times
- Been thanked: 472 times
- Contact:
Re: Subform with specific numbers of records
Are you calling the function when the form is loaded (in your form's custom code) ?
kev1n wrote: In addition, call subFormLimitNumberOfRows(); when the form is loaded.
-
- Posts: 132
- Joined: Sun Dec 16, 2018 6:13 pm
- Location: România
- Has thanked: 30 times
- Been thanked: 4 times
Re: Subform with specific numbers of records
I forgot ...
Yesssssssss ... work now .
My respects.


Yesssssssss ... work now .
My respects.
nuBuilderForte .... BIG Like !!!
Re: Subform with specific numbers of records
gerese,
You should be able to do it like this...
https://wiki.nubuilder.cloud/ ... ustom_Code
Steven
You should be able to do it like this...
https://wiki.nubuilder.cloud/ ... ustom_Code
Steven
-
- nuBuilder Team
- Posts: 4416
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 74 times
- Been thanked: 472 times
- Contact:
Re: Subform with specific numbers of records
I think when the form is loaded, a new line is added nevertheless (because beforeinsertrow() is not called)admin wrote:gerese,
You should be able to do it like this...
https://wiki.nubuilder.cloud/ ... ustom_Code
Steven
Last edited by kev1n on Tue Jun 02, 2020 5:39 am, edited 1 time in total.
-
- Posts: 132
- Joined: Sun Dec 16, 2018 6:13 pm
- Location: România
- Has thanked: 30 times
- Been thanked: 4 times
Re: Subform with specific numbers of records
Hi Steven,admin wrote:gerese,
You should be able to do it like this...
https://wiki.nubuilder.cloud/ ... ustom_Code
Steven
I tested, but after saving the form I can add records in the subform.
All the best.
nuBuilderForte .... BIG Like !!!
Re: Subform with specific numbers of records
gerese,
You will need to hide the new row when the Form loads with Javascript...
Steven
You will need to hide the new row when the Form loads with Javascript...
Code: Select all
var sf = 'item_sf';
$('#' + sf + '010nuRECORD').hide();
-
- Posts: 132
- Joined: Sun Dec 16, 2018 6:13 pm
- Location: România
- Has thanked: 30 times
- Been thanked: 4 times
Re: Subform with specific numbers of records
Work perfect ... thx Steven
BIG Like !!!
BIG Like !!!
nuBuilderForte .... BIG Like !!!