{$form_max_width = $form.params.max_width|default:$form.params.formwidth|default:600} {$fields_space = $form.params.fields_space|default:16} {$caption_space = $form.params.caption_space|default:8} {$caption_width = $form.params.caption_width|default:20} {function form_field_html field=[] is_template=0} {$captionplace = $field.captionplace|default:'left'} {if $field.id === '!horizontal_rule' || $field.id === '!captcha' && !empty($captcha_is_invisible)} {$captionplace = 'none'} {/if} {if $field.id === '!paragraph'} {$caption = ''} {elseif isset($field.caption)} {$caption = $field.caption} {else} {$caption = $field.name} {/if} {$type = ifset($field.type, 'Text')}
{strip} {if $field.id !== '!agreement_checkbox' && $type !== 'Checkbox'} {$caption|escape} {/if} {strip}
{if !empty($field.required) && $field.id !== '!captcha'}
*
{/if}
{if $type === 'Checkbox'} {else} {$field.html} {/if}
{/function} {function form_available_field field=[] classes=[] disabled=false} {$_is_contact_field = $field.form_field_type === crmFormConstructor::FIELD_TYPE_CONTACT}
  • {$field.name|escape}{if $field.required_always|default:''} *{/if} {if $field.id === 'password'} [`Allows your subscriber to create a password for further authorization on your site and log in to their customer portal. Requires Email field in the form.`] {/if}
  • {/function} {$_back_uri = "{$wa_app_url}settings/form/"}
    {if $form.id > 0} {else}
    [`Form’s standalone URL:`]
    [`Will be available after saving`]
    {/if}
    [`Form fields`]

    [`The actual web form design will depend on the CSS styles of the site where it is published.`]

    {$_checked_fields = $form.params.fields} {foreach $_checked_fields as $field} {form_field_html field=$field} {/foreach} {foreach $available_fields as $field_id => $field} {form_field_html field=$field is_template=1} {/foreach}
    [`Recommended 280–600 pixels. A web form can shrink and adapt if its width exceeds that of a column or the phone screen.`]
    px

    [`Vertical space between the fields and above the caption`]

    px

    [`Vertical space between label and field displayed below`]

    %

    [`Width of label displayed on the left`]

    [`After form submission`]

    [`This setting will redirect clients to any specified URL or display any text message after the form is submitted.`]

    [`After successful submission:`]

    [`Confirm registration`]
    {$email_checked = $available_fields.email.checked > 0}

    [`To enable this option, your form must contain Email field.`]

    [`An automatic notification will be sent to a subscriber‘s email address, with a special link to be clicked for a client to confirm registration. You may add extra instructions for your clients to the notification text.`]

    {$blocks.form_with_contact|default:''} {$blocks.form_create_deal|default:''} {$blocks.form_responsible|default:''}
    [`Messages`]
    {$messages_block}