It is currently 10 December 2022, 5:18 Advanced search

Open a form depending on parameter sent

Questions and answers on how to best use Instant Developer

Open a form depending on parameter sent

Postby jpm@datamove.cloud » 31 March 2022, 13:55

I'm trying to open a specific form depending on the CMD parametrer sent when the user connects...

Say I have 2 forms named form1 and form2 how can I get form1 to open if the users connects to https://website?CMD=1 or form2 if using https://website?CMD=2

So far I have built a string (myForm) containing the form name, but no idea how to do the myForm.show() bit

NOTE: The intention is to have many forms that could be selected, so I don't want to have a long string of IF ELSE commands, just a simple

FormX.show()

Where X is the parameter passed
jpm@datamove.cloud
 
Posts: 10
Joined: 4 October 2020, 10:48

Re: Open a form depending on parameter sent

Postby t.simoncini » 31 March 2022, 15:40

Hi, INDE offers this function https://doc.instantdeveloper.com/eng/de ... e&lang=eng
Check it out if it works for you.
t.simoncini
 
Posts: 1447
Joined: 5 March 2012, 14:00

Re: Open a form depending on parameter sent

Postby jpm@datamove.cloud » 1 April 2022, 8:00

Perfect...

Many thanks.
Attachments
INDE7.PNG
INDE7.PNG (4.2 KiB) Viewed 389 times
jpm@datamove.cloud
 
Posts: 10
Joined: 4 October 2020, 10:48


Return to Tips & Tricks

Who is online

Users browsing this forum: No registered users and 6 guests

cron