Additional Fields on signup page are in bold?

Discussion in 'Customization & add-ons' started by steve_77, Mar 9, 2011.

  1. steve_77

    steve_77 New Member

    Joined:
    Oct 22, 2009
    Messages:
    4
    I have added an additional field to my signup page - a dropdown menu which users select one option from. This works great only the title of the field appears in bold on my signup page and I cannot find out where to make it not bold (the same as the rest of my signup page). Also the required field setting puts a * next to it and none of the other required fields have this so would like to remove it. So my questions are -

    1) how do i unbold this field on my signup page
    2) how do i remove the * but keep this as a required field

    in aMember admin panel I have following settings -

    Field Type - Common field
    SQL fiels type - Blob
    Display type - Select (single value)
    Size of input field - 1
    Validation function - Required field

    Here is the code from signup.html

    PHP:
    [PHP]{if $config.use_address_info}
    {if 
    $config.use_address_info eq "1"}
    {
    assign var="a_req" value="*"}
    {/if}
    <
    tr>
    <
    th valign="top" class="headrow" colspan="2">#_TPL_SIGNUP_ADDR#
    </th>
    </
    tr>
    <
    tr>
    <
    th valign="top"><label for="country">#_TPL_SIGNUP_COUNTRY#{$a_req}</label><br />
    <div class="small"></div></th
    <
    td valign="top"><select name="country" id="f_country" size="1" >
    {
    country_options selected=$smarty.request.country}
    </
    select>
    </
    td>
    </
    tr>

    thanks
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Additional fields on signup page are build automatically from /amember/templates/add_fields.inc.html
  3. brindhahoney

    brindhahoney New Member

    Joined:
    Jun 14, 2011
    Messages:
    7
    add additional fields on signup page

    hello sir,

    "Additional fields on signup page are build automatically from /amember/templates/add_fields.inc.html"

    yes i agree with above statement but i add some fields in add_fields.inc.html but it does not work. pls help me it's urgent.:confused:

    Thanks,
    Brindha.A
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    You should add fields from aMember CP -> Add fields.
    If you want to change fields order on signup page, add fields as hidden, then edit signup.html template and add html code for these fields manually.
    You should not edit add_fields.inc.html because that file modifications will effect aMember CP -> Edit Screen as well .

Share This Page