Problem with signup form customization

Discussion in 'Customization & add-ons' started by hope_rwa, Aug 30, 2006.

  1. hope_rwa

    hope_rwa New Member

    Joined:
    Aug 29, 2006
    Messages:
    5
    Hello,

    I am running aMember version 2.3.4PRO.

    I am having some difficulty with a custom field I put into the signup form on my site.

    What I did was to create the new field in aMember cPanel as follows:
    Added new field:
    Name: referral
    Title: Referred By:
    Field Type: -
    Display Type: text
    Validation function: vf_require

    I want this field to be required by the user for sign-up.

    Then I added that new field to my signup form (templates/signup.html) as follows:
    Code:
    <tr>
                <th><div align="right"><span class="style3">Referral:</span><br>
                    <span class="style1">How did you find out about the IMA?</span></div></th>
                <td nowrap><input name="referral" type="text" id="referral" value="{$user.referral|escape}" size="30"></td>
              </tr>
    Then I went to templates/admin/mail_payment.txt and added in the following to the file:
    Code:
    Referred by:  {$user.data.referral}
    For some reason the Referred by is not being made mandatory and the user can sign up without filling in this field. I am not sure why this would be.

    Can someone please advise?

    Thank you
    IMA
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Could you contact us via helpdesk with ftp info and aMember CP login info?
  3. hope_rwa

    hope_rwa New Member

    Joined:
    Aug 29, 2006
    Messages:
    5
    Hello Alex,

    I will do that now.

    Thank you!

Share This Page