web design, England, Britain, UK, belgium
 

Using php globals in FaclieForms / Breezing Forms - Breezing Forms / FacileForms how to's

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

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; ?>
Last Updated on Monday, 06 September 2010 08:57
 



Using php globals in FaclieForms / Breezing Forms|Breezing Forms / FacileForms how to's



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

|

We use cookies to improve our website and your experience when using it. Cookies used for the essential operation of the site have already been set.
To find out more about the cookies we use and how to delete them, see our privacy policy.

I accept cookies from this site.