Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

html field in subform Topic is solved

Questions related to using nuBuilder Forte.
Post Reply
damien
Posts: 30
Joined: Fri May 06, 2022 10:38 pm
Has thanked: 14 times

html field in subform

Unread post by damien »

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 ?
kev1n
nuBuilder Team
Posts: 4294
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: html field in subform

Unread post by kev1n »

Hi,

Hash Cookies are not resolved in a subform (except for #RECORD_ID#). You'll need to use JavaScript to replace them.
damien
Posts: 30
Joined: Fri May 06, 2022 10:38 pm
Has thanked: 14 times

Re: html field in subform

Unread post by damien »

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();
Post Reply