web design, England, Britain, UK, belgium
 
Ulti Clocks content

Using php globals in FaclieForms / Breezing Forms

sand Here is how to use global php variables in your Breezing Forms / FacileForms form.
pdf, form, pdfs, path, forms, global, use, value, breezing, facileforms, document, used, variables, jobtitle, joomla, crb, disclosure, policy, dhg, job, description, application, pack, box, values, html, text, format, display, code, occuring, long, pieces, tab, declare, edit, open, php, changed, available

Home Joomla - VirtueMart Breezing Forms / FacileForms Using php globals in FaclieForms / Breezing Forms
Using php globals in FaclieForms / Breezing Forms

  • Joomla 1.5
  • Breezing Forms/
    FacileForms

If you have a re-occuring value in a long Breezing Forms / FacileForms form you can use a global variable especially if the value needs to be changed for subsequent forms.
Here is how to use global php variables in your Breezing Forms / FacileForms form.



Breezing Forms / FacileForms global php variables


Open your form and go to Edit Form -> Form Pieces tab.

Here you can declare global variables that will be available throughout your form.





global $jobtitle, $pdf1, $pdf2, $pdf3, $pdf4;


$jobtitle = "Care & Support Worker";//The title of the form used throughout each page

$pdf1 = "pdfs/pdf1.pdf";//path to the Full Job Description PDF

$pdf2 = "pdfs/pdf2.pdf";//path to the DHG Policy Document PDF

$pdf3 = "pdfs/pdf3.pdf";//path to the CRB Disclosure Document PDF

$pdf3 = "pdfs/pdf4.pdf";//path to the PDF Application Pack

When you want to display the value use this code format.
It can be used in text box values, html etc etc

<?php global $jobtitle; return $jobtitle; ?>


Add this page to your favorite Social Bookmarking websites
Digg! Reddit! Del.icio.us! Mixx! Free and Open Source Software News Google! Live! Facebook! Slashdot! Technorati! StumbleUpon! Spurl! Newsvine! Furl! Fark! Yahoo! Netvouz! Mister-Wong! RawSugar! Ma.gnolia! Squidoo! DZone! Swik!
Laatste aanpassing op maandag 06 september 2010 08:57 Read : 1241 times
 

Latest Articles

Showcase

  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow

Paypal Donation

If you use this module on your site please donate a small amount.
Any donation amount appreciated.



Using php globals in FaclieForms / Breezing Forms



Here is how to use global php variables in your Breezing Forms / FacileForms form.


pdf, form, pdfs, path, forms, global, use, value, breezing, facileforms, document, used, variables, jobtitle, joomla, crb, disclosure, policy, dhg, job, description, application, pack, box, values, html, text, format, display, code, occuring, long, pieces, tab, declare, edit, open, php, changed, available