FormItBuilder Icon

FormItBuilder

By Marcus House (marcushouse)

FormItBuilder first screenshot

Please start using JsonFormBuilder. FormItBuilder is now deprecated.

Marcus House


New in FormItBuilder 1.3.3

FormItBuilder 1.3.3-pl 

  • Small bugfix in select form element compare code.
  • Added hidden spans before/after each main element label for extra css flexibility
  • Added methods to set / get redirectParams for the redirect FormIt hook.
  • Added $oform->setSubmitVar('myCustomSubmitVar') to allow processing to be ignored or run only in certain conditions.
  • Replaced all inbuilt FormIt post check calls (like FormItIsSelected, FormItIsChecked and any other +fi. placeholder). Replaced with own processing (faster).
  • Added Matrix Element (with text, radio and checkbox types). See site for demos.

FormItBuilder 1.3.2-pl

  • Added ability to supply "yyyy" in the FormRuleType::date to check a valid year
  • Added a custom minimum length rule instead of using the FormIt one (FormIt would not allow and empty field that had a minimum length). Users frequently want a non required field with a minumum length.
  • Added new FormItBuilderelementDate element that allows date selection via a series of three dropdowns for date/month/year.
  • Added ability to add extra classes onto the element wrapper using the setExtraClasses method. e.g. $ofepostcode->setExtraClasses(array('tiny','numeric'));
  • Added and around all input elemetns to allow field prefixes and suffix labels such as a unit (meters, feet pints etc). Using the CSS command :after or :before allows text inside this spans that would normally be invisible. Could also use javascript to inject html into these areas as well.
  • Added power user ability to assign custom variables into each element for retrieval in scripts. e.g. $ofeminLen->setCustomObject(array('asfsaf'=>'fdhdfh','dyhsg'=>32456));
  • Fixed but in checkbox default (Setting default ticked to true did not work).
  • In checkbox you can now supply a value such as "Checked", "Agree" as well as boolean true to have the checkbox checked by default. e.g. new FormItBuilderelementCheckbox('agreeterms','I agree terms', 'Agree', 'Disagree', 'Agree');
  • Now FormItBuilder will pass "0" as valid. Had to make an inbuilt custom validator for the required rule. This is because MANY people want "0" to pass validation. FormIT does not allow "0" to pass.
  • Added the ability to output labels after the elements by using the new setLabelAfterElement(true) method on each element. Although CSS can position one in from of the other it can cause extra frustration when trying to align elements in a variety of ways. By setting this property to true you can force an element to output the label after the element.
  • Made file field not output row in email table by default.

FormItBuilder 1.3.0-pl

  • Added Auto Responder systems
  • Repair bug in FormRuleType::date causing issues with javascript validation. (Thanks for the report Kiel)
  • Removed default "Created by FormItBuilder" form title attribute.
  • Added a lot of documentation (http://modxrevo.datawebnet.com.au/phpdocs/packages/FormItBuilder.html)

FormItBuilder 1.2.1-pl

  • Repair bug in FormRuleType::date causing issues with javascript validation. (Thanks for the report Kiel)
  • Removed default "Created by FormItBuilder" form title attribute.

FormItBuilder 1.2.0-pl

  • Repair bug in FormItBuilderelementCheckboxGroup HTML output (missing open div)
FormItBuilder 1.1.0-pl
  • Added new hidden field element (FormItBuilderelementHidden) by default it doesn't appear in email output. Use showInEmail to send into email.
FormItBuilder 1.0.1-pl
  • Added new FormItBuilderelementCheckboxGroup element (Thanks for the assistance Michelle)
  • Added setDescription method on form element classes (Allows a sub label to be displayed within the main label - Good suggestion Michelle)
  • Modified architecture of FormItBuildercustomValidation
  • More code comments

More

Information

Released
August 7, 2012
Supported Versions
2 – Current
Downloads
13,478
License
GPLv2

More from Marcus House

JsonFormBuilder

JsonFormBuilder is a small framework to assist in quick development…

View