manipulation between main form and iframe

Questions related to using nuBuilder Forte.

Re: manipulation between main form and iframe

Postby admin » Sat Feb 15, 2020 7:44 am

joecocs,

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

nuGetIframeValue() https://wiki.nubuilder.net/nubuilderforte/index.php/Javascript#nuGetIframeValue

and nuSetIframeValue() https://wiki.nubuilder.net/nubuilderforte/index.php/Javascript#nuSetIframeValue


Steven
admin
Site Admin
 
Posts: 3348
Joined: Mon Jun 15, 2009 9:53 am

Re: manipulation between main form and iframe

Postby joecocs » Mon Feb 17, 2020 7:09 pm

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.
joecocs
 
Posts: 64
Joined: Wed Jul 04, 2018 11:41 pm
Location: France

Re: manipulation between main form and iframe

Postby kev1n » Mon Feb 17, 2020 7:27 pm

Use this email address: (removed)
Last edited by kev1n on Mon Feb 17, 2020 9:29 pm, edited 1 time in total.
kev1n
 
Posts: 970
Joined: Mon Oct 15, 2018 2:13 am

Re: manipulation between main form and iframe

Postby joecocs » Mon Feb 17, 2020 9:21 pm

my mail is gone
joecocs
 
Posts: 64
Joined: Wed Jul 04, 2018 11:41 pm
Location: France

Re: manipulation between main form and iframe

Postby kev1n » Mon Feb 17, 2020 9:25 pm

ok, I received it. Will take a look at it tonight.
kev1n
 
Posts: 970
Joined: Mon Oct 15, 2018 2:13 am

Re: manipulation between main form and iframe

Postby joecocs » Thu Feb 20, 2020 1:41 am

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 ?
joecocs
 
Posts: 64
Joined: Wed Jul 04, 2018 11:41 pm
Location: France

Re: manipulation between main form and iframe

Postby kev1n » Thu Feb 20, 2020 2:03 am

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.net/nubuilderfor ... etProperty

and in SQL where clause

Code: Select all
WHERE your_field_id = '#a_cookie#'
kev1n
 
Posts: 970
Joined: Mon Oct 15, 2018 2:13 am

Re: manipulation between main form and iframe

Postby joecocs » Thu Feb 20, 2020 3:15 am

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: 64
Joined: Wed Jul 04, 2018 11:41 pm
Location: France

Re: manipulation between main form and iframe

Postby joecocs » Thu Feb 20, 2020 6:45 pm

Hi,
finally I did differently and it works well.
just a few layout and color elements to manage ...
Thank you for the help
joecocs
 
Posts: 64
Joined: Wed Jul 04, 2018 11:41 pm
Location: France

Re: manipulation between main form and iframe

Postby kev1n » Thu Feb 20, 2020 6:47 pm

Perhaps you would like to explain briefly what you have changed?
kev1n
 
Posts: 970
Joined: Mon Oct 15, 2018 2:13 am

PreviousNext

Return to General



cron