agreement on signup page

Discussion in 'Customization & add-ons' started by bigmarketing, Feb 17, 2007.

  1. bigmarketing

    bigmarketing Guest

    Joined:
    Jul 7, 2006
    Messages:
    6
    is there a way to add agreement to signup page to make checkout 1 page?
  2. twholycross

    twholycross aMember Pro Customer

    Joined:
    Jan 30, 2007
    Messages:
    63
    bump... a lot of views
  3. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Sure.
    Edit amember/templates/signup.html
    add
    <textarea name="license_text" readonly="readonly" cols=80 rows=10>
    license text goes here
    </textarea>
    <br />
    <input type="checkbox" name="i_agree" value="1"
    {if $smarty.request.i_agree}checked="checked"{/if} /> I Agree
    <br />

    somewhere between <form..> and </form>
  4. tony121

    tony121 New Member

    Joined:
    Aug 22, 2006
    Messages:
    54
    That's a nice edit Alex. I can see why ppl would like to read this b4 entering the billing info. You should consider making this the default way to display the user aggreement in future releases. Maybe it could even be a collapsable text box (agreement blah blah blah more...) to conserve page space.
  5. bigmarketing

    bigmarketing Guest

    Joined:
    Jul 7, 2006
    Messages:
    6
    thanks

    jason
  6. rcstar

    rcstar aMember Pro Customer

    Joined:
    May 23, 2010
    Messages:
    27
    How do you make this a mandatory "I agree" with this edit? I've tried it out and proceeded to checkout with checking the "I agree" box.

    Can this be mandatory?
  7. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Enable agreement at aMember CP -> Manage Products -> Edit Product -> Display agreement.
  8. presscoders

    presscoders New Member

    Joined:
    Aug 3, 2009
    Messages:
    23
    How can I use the code above to display the agreement on the signup page and have it NOT continue if not checked. The code is not that useful as you can continue if it is not checked.

    Also, when the above code is working properly how do you then prevent the agreement.html template from displaying after the signup.php continue button is clicked? I don't want two agreement check boxes being displayed.
  9. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    add class="required"

    <input type="checkbox" name="i_agree" value="1"
    {if $smarty.request.i_agree}checked="checked"{/if} class="required" />


    David
  10. presscoders

    presscoders New Member

    Joined:
    Aug 3, 2009
    Messages:
    23
    Thanks David, worked fine.

Share This Page