• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: simple way to pass variables?

simple way to pass variables? 17 years 4 months ago #1452

  • gudge
  • gudge's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
I know this has been kind of outlined in a couple of places before but I want to know if there is an easy way to pass variable between forms.

I am able to do it easily in the thankyou page by using any {variablename} from the form within the text, I hoping there is an easy way to do it in a second form page.

I know I can use scripts on leaving one form and entering another. I have been able to get this working with a single variable but no more. I am not a programmer so its kinda doing my head in :)

Is there a global form display and process script that only requires plugging in a few values? Or even something that will allow all variables used in the first form to be used in the second form as easy as using {form1.email} (for example) to display the email entered.

Thanks, and my fingers are crossed :)
The administrator has disabled public write access.

Re:simple way to pass variables? 17 years 4 months ago #1453

  • alex
  • alex's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 443
  • Thank you received: 3
Hi Gudge,

your suggestion is really good, but it'll probably be considered in the next version i am developing. Meanwhile, take a look at this thread:

www.rsjoomla.com/index.php/How-To/1412-S...nsecutive-forms.html
The administrator has disabled public write access.

Re:simple way to pass variables? 17 years 4 months ago #1461

  • gudge
  • gudge's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
thanks alex,

I was actually able to get that to work (I surprised myself) but once I started to try and do it with more than one variable I started getting into trouble. Is it simply a matter of duplicating the scripts on that page for each variable or is there more to it (an array or something) - sample sample code which does the same as above but for multiple variables would be useful ;)

Thanks again
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!