Welcome, Guest
  • Page:
  • 1
  • 2

TOPIC: Passing variables

Passing variables 2 years, 9 months ago #5636

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
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0

Re:Passing variables 2 years, 9 months ago #5639

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:

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


or

ff_setValue('email', JRequest::getVar('ff_param_email','')); 
  • TheMuffinMan
Last Edit: 2 years, 9 months ago by .

Re:Passing variables 1 year, 7 months ago #14045

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"?

ff_setValue('Pzip', ff_getParam('ff_param_pickup_zip'));

Re:Passing variables 1 year, 7 months ago #14098

did you manage to figure out where to put the code?
  • bossies
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0

Re:Passing variables 1 year, 7 months ago #14099

No I still am having no luck passing the variables of one form to another and desperately need help!

Re:Passing variables 1 year, 7 months ago #14258

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
  • OFFLINE
  • Expert Boarder
  • Posts: 114
  • Karma: 5
  • Page:
  • 1
  • 2
Moderators: TheMuffinMan, ForumSupport
Time to create page: 0.43 seconds

About

Crosstec GmbH & Co. KG

Bergisch-Gladbacher-Str. 829

51069 Cologne, Germany