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!
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.
nuSubformRowObject checkbox on subform Topic is solved
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 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: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact: