Rearrange fields on the signup form?

Discussion in 'Templates customization' started by akanowicz, Sep 20, 2009.

  1. akanowicz

    akanowicz New Member

    Joined:
    Feb 19, 2007
    Messages:
    31
    I see the signup.html template. And it appears that the code is calling code that constructs the form, as I don't see anything that looks like the individual form fields in this template.

    What I'm trying to accomplish is rearranging the form fields. Like one of my custom fields, Address 2, needs to be down near the Address Info stuff, not grouped with my other custom fields (each of which I would also move to a specific place).

    Is there a way to do this?

    PS: I've also just noticed in the admin area, when I add a new member, the Address 2 field is randomly placed near the bottom of that form instead of being near Street Address. How does one also fix the add member page in the admin panel?
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    When you add fields, amember places them in a new section of the form
    {$additional_fields_html}

    What you can do is remove that code and manually add in your fields.
    <tr>
    <th><b>Custom Field</b><br />
    <div class="small">description</div></th>
    <td><input type="text" name="fieldname" value="{$smarty.request.fieldname|escape}" size="30" />
    </td>
    </tr>

    David
  3. akanowicz

    akanowicz New Member

    Joined:
    Feb 19, 2007
    Messages:
    31
    Thanks David: Is that code for the signup template or the admin template?

Share This Page