Adding Custom Fields Newbie Help

Discussion in 'Templates customization' started by alouwebdesign, Sep 28, 2003.

  1. I have read everything but it doesn't say anywhere what the actual code is for adding a text field to the signup.html page. It only gives code for selections not a single text box.

    I want to add "Doctor Number if known #" to the signup.html page.


    I have added below to the "manual_cc/config.inc.php" page

    add_member_field('dr_number', 'Dr Number',
    'text', 'Dr Number');

    Does it make any difference if I am using the Manual CC Plugin?
    I have the registered version.

    thanks,
    Anne
  2. alex-adm

    alex-adm Guest

    Anne, if you still have problems with adding fields - contact support@cgi-central.net

    You need to add PHP code to amember/config.inc.php - EXACTLY to this file, not to other.

    About adding custom text field - open signup.html and scroll down. Add something like this to table

    <tr>
    <th width=40%><b>YOUR NEW FIELD</b><br>
    <small>a description</small></th>
    <td nowrap><input type=text name="new_field" value="{$smarty.request.new_field|escape}" size=30>
    </td>
    </tr>

Share This Page