{assign var='required_fields' value=$userquery->load_signup_fields()} {assign var='custom_field' value=$userquery->custom_signup_fields}

## Add New User

Required Member Details

{$field.class = 'form-control'} {$field = $required_fields.username} {$field.class = 'form-control'}
{$field.title} {if $field.hint_1}{$field.hint_1}
{/if}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}{ANCHOR place=$field.anchor_after}{if $field.hint_2}{$field.hint_2}{/if}
{$field = $required_fields.email} {$field.class = 'form-control'}
{$field.title} {if $field.hint_1}{$field.hint_1}
{/if}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}{ANCHOR place=$field.anchor_after}{if $field.hint_2}{$field.hint_2}{/if}
{$field = $required_fields.dob} {$field.class = 'form-control'} {$field.id = 'datecreated'}
{$field.title} {if $field.hint_1}{$field.hint_1}
{/if} {ANCHOR place=$field.anchor_before}{$formObj->createField($field)}{ANCHOR place=$field.anchor_after}{if $field.hint_2}{$field.hint_2}{/if}
{$field = $required_fields.password} {$field.class = 'form-control'}
{$field.title} {if $field.hint_1}{$field.hint_1}
{/if}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}{ANCHOR place=$field.anchor_after}{if $field.hint_2}{$field.hint_2}{/if}
{$field = $required_fields.cpassword} {$field.class = 'form-control'}
{$field.title} {if $field.hint_1}{$field.hint_1}
{/if}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}{ANCHOR place=$field.anchor_after}{if $field.hint_2}{$field.hint_2}{/if}
Status
{$field = $required_fields.gender} {$field.class = 'form-control'}
{$field.title}
{if $field.hint_1}{$field.hint_1}
{/if}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}{ANCHOR place=$field.anchor_after}{if $field.hint_2}{$field.hint_2}{/if}
User level
{$field = $required_fields.country} {$field.class = 'form-control'} {$field.type = 'dropdown'}
{$field.title} {if $field.hint_1}{$field.hint_1}
{/if}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}{ANCHOR place=$field.anchor_after}{if $field.hint_2}{$field.hint_2}{/if}
{$field = $required_fields.cat} {$field.class = 'form-control'}
{$field.title} {if $field.hint_1}{$field.hint_1}
{/if}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}{ANCHOR place=$field.anchor_after}{if $field.hint_2}{$field.hint_2}{/if}
{if $custom_field}

### Other Settings

{foreach from=$custom_field item=field}
{$field.title} {$field.class=form-control} {if $field.hint_1}{$field.hint_1}
{/if}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}{ANCHOR place=$field.anchor_after}{if $field.hint_2}
{$field.hint_2}{/if}
{/foreach} {/if}