FormBuilderMaker class

Located in file /site/modules/FormBuilder/FormBuilderMaker.php

Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the FormBuilderMaker class also inherits all the methods and properties of: Wire.

Show class?             Show args?        

Common

NameReturnSummary 
FormBuilderMaker::arrayToInputfields(array $a)
InputfieldForm InputfieldWrapperGiven a form configuration array, create an InputfieldForm from it 
FormBuilderMaker::formName string 
FormBuilderMaker::getMarkup()
array mixed null@param string $property Name of property to retrieve or blank for all 
FormBuilderMaker::getNumPaginations()
intGet number of paginations found 
FormBuilderMaker::getPageNumLabel(int $pageNum)
stringGet defined label for given pagination number 
FormBuilderMaker::getPageNumToProcess()
intGet the page/pagination number to process input for 
FormBuilderMaker::getPageNumToRender()
intGet the page/pagination number to render 
FormBuilderMaker::getSubmitType()
bool intIs this a form or pagination submit request for this form? 
FormBuilderMaker::hasPagination()
boolDoes the current form appear to have more than 1 pagination? 
FormBuilderMaker::makeInputfieldForm(FormBuilderForm $fbForm)
InputfieldFormGiven a FormBuilderForm return an InputfieldForm 
FormBuilderMaker::makeSubmitKey(InputfieldForm $form)
string arrayCreate a new submitKey containing number of fields, random component and session key 
FormBuilderMaker::makeSubmitVal($sessionKey, $numFields)
string@param $sessionKey 
FormBuilderMaker::parseSubmitKey(string $submitKey)
arrayParse a submitKey into its component parts 
FormBuilderMaker::populateForm(InputfieldForm $form, array $data)
(nothing)Populate the given $form with the given $data 
FormBuilderMaker::populateInputfield(Inputfield $field, $value)
(nothing)Populate an individual Inputfield 
FormBuilderMaker::setPageNumToProcess($num)
(nothing) 
FormBuilderMaker::setPageNumToRender($num)
(nothing) 

Additional methods and properties

In addition to the methods and properties above, FormBuilderMaker also inherits the methods and properties of these classes:

API reference based on ProcessWire core version 3.0.236

Latest news

  • ProcessWire Weekly #523
    In the 523rd issue of ProcessWire Weekly we'll check out what's new in the core this week, share some new module related news, and more. Read on!
    Weekly.pw / 18 May 2024
  • ProFields Table Field with Actions support
    This week we have some updates for the ProFields table field (FieldtypeTable). These updates are primarily focused on adding new tools for the editor to facilitate input and management of content in a table field.
    Blog / 12 April 2024
  • Subscribe to weekly ProcessWire news

“The end client and designer love the ease at which they can update the website. Training beyond how to log in wasn’t even necessary since ProcessWire’s default interface is straightforward.” —Jonathan Lahijani