Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Javascript Help

  1. #1
    New to the CF scene
    Join Date
    Aug 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Javascript Help

    I'm new to javascript and need some quick help. Been doing php/html, etc... for years though.

    I'm developing a script and need some quick advice on how to do something on the login portion. It has 2 boxes, login name and pass. And right below that, i have a checkbox that says "create account". Now when they click on that checkbox, i would like 2 more input boxes to appear below where they fill in their name... and their email address. Both of which can be passed as post vars when they hit submit. Then if they uncheck that box, i need it to erase those 2 new boxes.

    Before
    ============
    Username: ____________
    Pass: ____________
    [_] Create Account?
    [SUBMIT]
    ============

    Onclick
    ============
    Username: ____________
    Pass: ____________
    [X] Create Account?
    Full Name: __________
    Email: __________
    [SUBMIT]
    ============

    Uncheck
    ============
    Username: ____________
    Pass: ____________
    [_] Create Account?
    [SUBMIT]
    ============

    Any help would be GREATLY appreciated.

    -Kyle

  • #2
    New to the CF scene
    Join Date
    Aug 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Nevermind, was able to figure out something. Thanks anyways.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •