Hi i'm trying to set the value of a checkbox in a subform without success.
If i change the field type to text it works properly..
I use the following code..
Advice please.
nuSubformRowObject(event.target.id, 'checkboxname').val('0');
Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
nuSubformRowObject checkbox on subform Topic is solved
-
- nuBuilder Team
- Posts: 4562
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 528 times
- Contact:
Re: nuSubformRowObject checkbox on subform
Hi,
Untested:
Untested:
Code: Select all
const chkId = nuSubformRowObject(event.target.id, 'checkboxname').attr('id');
nuSetValue(chkId, true);
Re: nuSubformRowObject checkbox on subform
thank's kev1n, it works but, it returns only the saved value and not the actual status of the checkbox.
-
- nuBuilder Team
- Posts: 4562
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 528 times
- Contact: