{form->start name="formUserSignup" action="" autocomplete="off" method="post" enctype="multipart/form-data" onsubmit="return false;"}
    {form->hidden name="checkoutLogin" value="Yes"} 
    <li class="row " >
    <div class="form-group col-lg-6 col-12">
    <label>{$language.lblFirstName}</label>
    {form->hidden name="referralID"}
    {form->textbox  name="userFirstName" maxlength="50" class=" form-control" validate="required" error=$language.errFirstName}
    </div>
    <div class="form-group col-lg-6 col-12">
    <label>{$language.lblLastName} </label>
    {form->textbox   class=" form-control" maxlength="50" name="userLastName" validate="required" error=$language.errLastName}
    </div>
    </li>
    <li class="row " >
    <div class="form-group col-lg-6 col-12">
    <label>{$language.lblEmailID}</label>
    {form->textbox autocomplete="off" validate_event="blur" class=" form-control" maxlength="80" name="userEmail" validate="required~*email~*userEmail->database->users,userEmail,userID!='' AND userStatus!='Deleted' AND userLoginType='Facebook'~*userEmail->database->users,userEmail,userID!='' AND userStatus!='Deleted' " error=$language.errEmailID|cat:"~*"|cat:$language.errValidEmail|cat:"~*"|cat:$language.errUserFacebookExists|cat:"~*"|cat:$language.errEmailExists}
    </div>
    <div class="form-group col-lg-6 col-12">
    <label>{$language.lblPhoneNumber} </label>

        <div class="row">
            <div class="col-3 ">
	{form->select class="form-control"  name="userCountrycode"  options=$resCountryCode }	
            </div>
            <div class="col-9 ">
            {form->textbox  class="form-control" autocomplete="off" maxlength="10" name="userPhone"  validate="required~*isNumber~*userPhone->database->users,userPhone,userID!='$userID' AND userStatus!='Deleted'" error=$language.errPhone|cat:"~*"|cat:$language.errValidPhone|cat:"~*"|cat:$language.errPhoneExists}
            </div>
        </div>

    </div>
    </li>
    <li class="row " >
    <div class="form-group col-lg-6 col-12">
    <label>{$language.lblPassword} 
        {*<span class="help slip" >
            <span class="icon-question-mark"></span> 
            <span class="pw-text">{$language.msgPassword}</span>
        </span>*}
    </label>
    {form->password  autocomplete="off" class=" form-control" maxlength="20" name="userPassword" validate="required~*isSecurePassword" error=$language.errPassword|cat:"~*"|cat: $language.errInvalidPassword}
    </div>	
    <div class="form-group col-lg-6 col-12">
    <label>{$language.lblConfirmPassword}</label>
    {form->password autocomplete="off" class=" form-control" maxlength="20" name="userConfirmPassword" validate="required~*userPassword->compare->value" error=$language.errPassword|cat:"~*"|cat:$language.errConfirmPassword}
    </div>
    <div class="form-group col-lg-12 col-12">
    {* <label>&nbsp;</label> *}

    {form->button name="submitLogin" value=$language.lblProceed class="btn btn-secondary btn-md proceedBtn proceedSignup"}

    {form->button  name="completeLoaderSProceed" style="display:none" disabled="disabled"  id="completeLoaderSProceed" class="btn btn-secondary btn-md buttonDisable" value="{$language.lblProceed}"}
    </div>
    </li>
    {form->close}
{if isset($ajaxValidation) && $ajaxValidation eq "Yes"} 
{form->validate_script form="formUserSignup"}
{/if}