TOPIC:

Passing variables 13 years 1 month ago #5636

  • Topic Author
  • pascale
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 1
  • Thanks: 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 ?

Please Log in or Create an account to join the conversation.

Re:Passing variables 13 years 1 month ago #5639

  • TheMuffinMan
  • Visitor
  • Visitor
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','')); 

Please Log in or Create an account to join the conversation.

Last edit: Post by .

Re:Passing variables 12 years 1 week ago #14045

  • technocharged's Avatar
  • technocharged
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 5
  • Thanks: 1
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'));

Please Log in or Create an account to join the conversation.

Re:Passing variables 12 years 5 days ago #14098

  • bossies
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 25
  • Thanks: 0
did you manage to figure out where to put the code?

Please Log in or Create an account to join the conversation.

Re:Passing variables 12 years 5 days ago #14099

  • technocharged's Avatar
  • technocharged
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 5
  • Thanks: 1
No I still am having no luck passing the variables of one form to another and desperately need help!

Please Log in or Create an account to join the conversation.

Re:Passing variables 11 years 11 months ago #14258

  • goshmac's Avatar
  • goshmac
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 113
  • Karma: 5
  • Thanks: 0
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

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.050 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!