Creates a form-object that renders and validates a form dynamically.


Form-Object

At first you need to instantiate a form-object. After that you can use the further functions (see below).

Syntax

To create a new uploadfile object:

form(string $formLabel = null, $params = null): hublify_form


Parameter

  • $formLabel
    An optional label of a form-configuration to load from Hublify-Forms.

  • $params
    Optional parameters, such as ....
    • "id" - string (optional, default NULL) If NULL an unique id is autogenerated at runtime.


Return

Returns the form-object.

Example

...


Functions

Once you have a form-object, you can use following functions on it.


Examples


...