Captcha and addtional fields

Discussion in 'Customization & add-ons' started by t3digita, May 1, 2010.

  1. t3digita

    t3digita New Member

    Joined:
    Apr 6, 2010
    Messages:
    4
    I have one additional fields. When on sign up page i enable captcha, it shows up before my additional fields. So in this format:

    Sign Up page:

    Common Fields
    Captcha
    Additional Fields

    I want to move Captcha all the way down just before the Submit button. Please let me know how to go this.

    Thanks
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    signup.html: Either move the captcha code (the if area), or the {$additional_fields_html} code:

    {if $config.use_captcha_signup && !$smarty.session.amember_captcha_verified}
    <tr>
    <th>#_TPL_SIGNUP_CAPTCHA# *<br />
    <div class="small">#_TPL_SIGNUP_CAPTCHA_1#</div></th>
    <td>
    <img src="{if $smarty.server.HTTPS}{$config.root_surl}{else}{$config.root_url}{/if}/captcha.php?for=signup" width="122" height="62" alt="Verification Image" /> <br />
    <input type="text" class="required" name="captcha" maxlength="6" style='width: 119px;' />
    </div>
    </td>
    </tr>
    {/if}

    {$additional_fields_html}

    David

Share This Page