Welcome to the nuBuilder Forums!

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

manipulation between main form and iframe

Questions related to using nuBuilder Forte.
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: manipulation between main form and iframe

Unread post by admin »

joecocs,

I have added two functions to get access to Objects in an Iframe in the latest download.

nuGetIframeValue() https://wiki.nubuilder.cloud/ ... frameValue

and nuSetIframeValue() https://wiki.nubuilder.cloud/ ... frameValue


Steven
joecocs
Posts: 67
Joined: Wed Jul 04, 2018 4:11 pm
Location: France

Re: manipulation between main form and iframe

Unread post by joecocs »

Hello,
Thanks for your addons.
I tried to use the two functions that you added on Friday.
I updated the database by importing the nubuilder4.sql file, then I wanted to use the functions.
unfortunately I have the impression that nothing happens where I did not understand how to use them.
I sent an email with my base on the email that you sent me but I received an email which tells me that you did not receive it for refused connections.

I think I will have to abandon my project with nuBuilder and find another solution to do my follow-ups.
I will continue to learn JScript to try to progress but here I am blocking too quickly to be convinced.

thank you for all the help you gave me.
kev1n
nuBuilder Team
Posts: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 448 times
Contact:

Re: manipulation between main form and iframe

Unread post by kev1n »

Use this email address: (removed)
Last edited by kev1n on Mon Feb 17, 2020 12:59 pm, edited 1 time in total.
joecocs
Posts: 67
Joined: Wed Jul 04, 2018 4:11 pm
Location: France

Re: manipulation between main form and iframe

Unread post by joecocs »

my mail is gone
kev1n
nuBuilder Team
Posts: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 448 times
Contact:

Re: manipulation between main form and iframe

Unread post by kev1n »

ok, I received it. Will take a look at it tonight.
joecocs
Posts: 67
Joined: Wed Jul 04, 2018 4:11 pm
Location: France

Re: manipulation between main form and iframe

Unread post by joecocs »

Hi Kev1n,

have you had time to look at a solution to retrieve the value of a field from my Run :: iframe to a field in the main form ?
kev1n
nuBuilder Team
Posts: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 448 times
Contact:

Re: manipulation between main form and iframe

Unread post by kev1n »

Hi,

Just another idea. How about setting a hash cookie and use that in your browse SQL?

Settings a hash cookie

Code: Select all

nuSetProperty('a_cookie','a_value');
// replace a_value with a field value (like primary key)

https://wiki.nubuilder.cloud/ ... etProperty

and in SQL where clause

Code: Select all

WHERE your_field_id = '#a_cookie#'
joecocs
Posts: 67
Joined: Wed Jul 04, 2018 4:11 pm
Location: France

Re: manipulation between main form and iframe

Unread post by joecocs »

I have already tried, :roll:

all the solutions that you indicate works if all the objects are in the same form. :geek:

I suggest the following test : :!:
You have 3 tables - customers, projects, stakeholders
A main form with 3 tabs :
  • in the first tab the fields of the customer table
    in the second tab a Run :: iframe with the fields of the projects table
    in the third tab a Run :: iframe with the fields of the stakeholders table

With
the Run :: iframe of the second tab must be filtered with the customer registration in edition.
the Run :: iframe of the third tab must be filtered with the project registration in edition.

when i write it sounds simple but i've been looking for 10 days ... :cry:

I want you to help me get there :?
joecocs
Posts: 67
Joined: Wed Jul 04, 2018 4:11 pm
Location: France

Re: manipulation between main form and iframe

Unread post by joecocs »

Hi,
finally I did differently and it works well.
just a few layout and color elements to manage ...
Thank you for the help
kev1n
nuBuilder Team
Posts: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 448 times
Contact:

Re: manipulation between main form and iframe

Unread post by kev1n »

Perhaps you would like to explain briefly what you have changed?
Post Reply