BreezingForms

From IT Wiki
Jump to navigation Jump to search


BreezingForms for WordPress is an enterprise featured form plugin for WordPress. From simple forms up to complex form applications.

facileforms.process.php fatal error

To fix:

Fatal error: Only variables can be passed by reference in /wp-content/plugins/breezing-forms/platform/components/com_breezingforms/facileforms.process.php on line 4537

Navigate to /wp-content/plugins/breezing-forms/platform/components/com_breezingforms/facileforms.process.php

and Change line 4537:

if (!JFile::write($csvname, $head . $out))

to

$headout = $head . $out;

if (!JFile::write($csvname, $headout))

Text read-only

To make a Textfield or Textarea element read-only, do the following:

  1. Go to the Advanced tab in the Textarea element.
  2. Choose Custom in the Initscript section.
  3. Check Form Entry and Page Entry (not sure if you need both but you do need at least one)
  4. Enter the following in the Create code framework box:
function ff_ElementName_init(element, condition) 
{
   switch (condition) {
        case 'formentry':
element.readOnly = true;
            break;
        default:;
    } // switch
}
5. Change the "ElementName" to the name of the Textarea element.
6. That should be it.