Welcome to the nuBuilder Forums!

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

How to get the values ​​of several fields from another form

Questions related to customising nuBuilder Forte with JavaScript or PHP.
Post Reply
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

How to get the values ​​of several fields from another form

Unread post by kknm »

How to get the values ​​of several fields from another form with one choice in form-edit?
kev1n
nuBuilder Team
Posts: 4416
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 472 times
Contact:

Re: How to get the values ​​of several fields from another f

Unread post by kev1n »

Are you using a Lookup Field ?
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: How to get the values ​​of several fields from another f

Unread post by kknm »

kev1n wrote:Are you using a Lookup Field ?
yes,but I have to access these fields in calc
Last edited by kknm on Mon May 25, 2020 12:23 pm, edited 1 time in total.
kev1n
nuBuilder Team
Posts: 4416
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 472 times
Contact:

Re: How to get the values ​​of several fields from another f

Unread post by kev1n »

In the After Save event, use nuSetFormValue()
https://wiki.nubuilder.cloud/ ... tFormValue
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: How to get the values ​​of several fields from another f

Unread post by kknm »

kev1n wrote:In the After Save event, use nuSetFormValue()
https://wiki.nubuilder.cloud/ ... tFormValue
This does not work. It works like this:
LookUp - After Browse:

Code: Select all

$lu = nuLookupRecord ();

nuSetFormValue ('inv_address1', $lu-> cus_address1);
kev1n
nuBuilder Team
Posts: 4416
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 472 times
Contact:

Re: How to get the values ​​of several fields from another f

Unread post by kev1n »

Does it work or not?
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: How to get the values ​​of several fields from another f

Unread post by kknm »

kev1n wrote:Does it work or not?
Works on bookmark:
LookUp - After Browse:
kev1n
nuBuilder Team
Posts: 4416
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 472 times
Contact:

Re: How to get the values ​​of several fields from another f

Unread post by kev1n »

Yes sorry, I meant After Browse.
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: How to get the values ​​of several fields from another f

Unread post by kknm »

kev1n wrote:Yes sorry, I meant After Browse.
Thank ! Excuse me, because I ask a lot of questions. :roll:
Post Reply