Redicom Help Center

form

form.label

Version 1.0

Returns the value of the label field of the form.

<input type="text" placeholder="{{item.label}}" >

Input

{{ response.form.label }}

Output

Nome: *

form.type

Version 1.0

Returns the value of the type field of the form.

{% if item.type='text' %}
<input type="text" name='{{item.form_field}}' >
{% endif %}

Input

{{ response.form.type }}

Output

text, select, input, hidden, Title, Subtitle, Button

form.default_value

Version 1.0

Returns the value of the default_value field of the form.

<input type='hidden' name='{{item.form_field}}' value='{{item.default_value}}'>

Input

{{ response.form.default_value }}

Output

2

form.required

Version 1.0

Returns the value of the required field of the form.

<input type="text" {% if item.required="1" %} class="required" require='1' {% endif %} >

Input

{{ response.form.required }}

Output

true

form.options

Version 1.0

Returns the value of the options field of the form.

{% if item.type="select" %}
<div class="select" >
<select name='{{item.form_field}}' class="required">
{% for item2 in item.options %}
<option value='{{item2}}' >{{item2}}</option>
{% endfor %}
</select>
</div>
{% endif %}

Input

{{ response.form.options }}

Output

Array (1,name)

form.form_field

Version 1.0

Returns the value of the form_field field of the form.

<input type="text" name='{{item.form_field}}' email='1' >

Input

{{ response.form.form_field }}

Output

nome