Liquid function for forms

{% component type: "form", alias: "<formAlias>" %}

The result is content rendering of the form selected by alias. IF collectionVariable is set then DO NOT render the html of the form.this object is

{
  name : "",
  alias : "",
  fields : 
  [
      {
          "Name": "string",
          "Alias": "string",
          "Type": "DateTime",
          "IsMandatory": true,
          "IsSystem": true,
          "Options": [
              {
                "Value": "string"
              }
          ]
      }
  ],
  params : {
          <custom_named_param> : <custom_named_param_value>,</custom_named_param_value>
          ...
  }
}

Options:

  • type - the name of entity that needs to be used for the component retrieving function.
  • alias - alias of the form that need to be used for content output
  • collectionVariable - the liquid variable name that will get the retrieved menu object with the tree of menu items.
  • <custom_named_param> - all name-value pairs of the parameters that are not specified above will be transferred as liquid variables inside the layout.