Passing variables - Crosstec
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 12
TOPIC: Passing variables
#5636
Passing variables 1 Year, 4 Months ago Karma: 0
Hi,
I'm using BreezingForms 1.5.9 Stable (build 701), in Joomla 1.5, and created a form using EasyFormMode,
When calling the form, I would like to use custom parameters like :
index.php?option=com_facileforms&ff_name=SamplePizzaShop&ff_border=0&Itemid=112&ff_nm_venue=test

venue is a textfield in my form,
how can I retrieve the value of venue from the URL and automatically set up the value of this textfield ?
pascale
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#5639
Re:Passing variables 1 Year, 4 Months ago  
Hi,

please read this (scroll down to "Using custom parameters"):

www.facileforms.biz/wiki/Calling_a_form_by_URL

You can then fill in the fields from the parameters like that:

Code:


ff_setValue('email', ff_getParam('ff_param_email')); 



or

Code:


ff_setValue('email', JRequest::getVar('ff_param_email','')); 

TheMuffinMan

Last Edit: 2009/05/02 10:01 By .
The administrator has disabled public write access.
 
#14045
Re:Passing variables 2 Months, 2 Weeks ago Karma: 0
When passing a variable through a url, where would this piece of code be placed in order to populate the value of the field "Pzip"?

Code:

ff_setValue('Pzip', ff_getParam('ff_param_pickup_zip'));
technocharged
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Gender: Male ASK4Tech andy_ask4tech Location: NC USA Birthday: 06/08
The administrator has disabled public write access.
 
#14098
Re:Passing variables 2 Months, 2 Weeks ago Karma: 0
did you manage to figure out where to put the code?
bossies
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#14099
Re:Passing variables 2 Months, 2 Weeks ago Karma: 0
No I still am having no luck passing the variables of one form to another and desperately need help!
technocharged
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Gender: Male ASK4Tech andy_ask4tech Location: NC USA Birthday: 06/08
The administrator has disabled public write access.
 
#14258
Re:Passing variables 2 Months, 1 Week ago Karma: 1
Hi!

normaly you pass your parameters to the end of the url:

index.php?option=com_facileforms&ff_name=SamplePizzaShop&ff_border=0&Itemid=112&ff_param_pickup_zip=test

that's it

Matthias
goshmac
Senior Boarder
Posts: 52
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
Moderators: TheMuffinMan