Welcome to the nuBuilder Forums!

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

nuSetValue Topic is solved

Questions related to customising nuBuilder Forte with JavaScript or PHP.
Post Reply
Basso
Posts: 15
Joined: Sat Mar 30, 2024 9:53 am
Has thanked: 9 times

nuSetValue

Unread post by Basso »

Good Morning,

apologies for my poor English and limited it knowledge.

I try to create a FORM containind a RUN browser object linked to a table and a one input text object.
I need to overwrite a text object in the main form (circled in red) whenever i delete one of the record in the browser list.

I tried using JS function AfterDelete() with the command nuSetValue('text_object_name','value'); , but nothing happens
Consulting the browser console, I receive this worning: " Object does not exist."

could you help me.

Thank you in advance.
You do not have the required permissions to view the files attached to this post.
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: nuSetValue

Unread post by kev1n »

Hi,

Since the Text object is located on the main form and you're trying to access it from within the embedded iframe form, you could try:

Code: Select all

parent.nuSetValue('your_object_id,'value');
Basso
Posts: 15
Joined: Sat Mar 30, 2024 9:53 am
Has thanked: 9 times

Re: nuSetValue (Solved)

Unread post by Basso »

Tank you Kev1n,
Worked perfectly
Post Reply