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!
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.
html field in subform Topic is solved
-
- nuBuilder Team
- Posts: 4297
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 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();