Hello,
I would like to display an HTML field into a sub form.
But I do not understand how to put database table filed values into the HTML.
I tryed with the #column_name# but it seems not to works in the subform.
Even if if the #RECORD_ID# is replaced.
I have tried into a browse&edit form and it works fine.
But not into the subform.
Do I miss some thinks ?
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.
html field in subform Topic is solved
-
- nuBuilder Team
- Posts: 4566
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 531 times
- Contact:
Re: html field in subform
Hi,
Hash Cookies are not resolved in a subform (except for #RECORD_ID#). You'll need to use JavaScript to replace them.
Hash Cookies are not resolved in a subform (except for #RECORD_ID#). You'll need to use JavaScript to replace them.
Re: html field in subform
Ok.
Searching into the forum I found that useful JS code to retrieve the value of a sub-form object:
var id = event.target.id;
var entryId = nuSubformRowObject(id, 'subform_object').val();
Searching into the forum I found that useful JS code to retrieve the value of a sub-form object:
var id = event.target.id;
var entryId = nuSubformRowObject(id, 'subform_object').val();