#1
  1. No Profile Picture
    Registered User
    ASP Explorer (0 - 99 posts)

    Join Date
    Aug 2006
    Posts
    5
    Rep Power
    0

    Submit Button or a Address Form


    On a form page, depending on what they select will depend on if an address form appears or just a submission button. There are five possible choices. If two of them are selected it will produce an address form for them to fill out, If any of the other three, it will just provide a submit button. What is the best way to set this up?
  2. #2
  3. Contributing User
    ASP Skiller (1500 - 1999 posts)

    Join Date
    Mar 2005
    Location
    Columbus, OH
    Posts
    1,581
    Rep Power
    278
    you can put your address form in division and set that div style="display:none"
    when appropriate selection has been made call javascript and set div style="display:block" or div style="display:inline"
    GK
    __________________________________________________ _____
    if you found this post is useful click Give Rep button (bottom side on this reply ) and agree
  4. #3
  5. No Profile Picture
    Registered User
    ASP Explorer (0 - 99 posts)

    Join Date
    Aug 2006
    Posts
    5
    Rep Power
    0
    thanks, I am a newbie with this, could you provide an example of the call javascript to make the div display?

    Thanks a bunch!
  6. #4
  7. 0x800A0C93
    ASP Super Hero (2500 - 2999 posts)

    Join Date
    Jan 2009
    Location
    Ridin' through this world...
    Posts
    2,975
    Rep Power
    1310
    A super quick Google search reveals:

    Edit this Fiddle - jsFiddle

    I fear unless you learn some "search engine-fu" you will be back asking how to toggle it.
    Brinkster- free development account. Not affiliated, but I sure like free. Brinkster.com

Similar Threads

  1. Submit multiple form in array with one submit button
    By bukun84 in forum ASP Development
    Replies: 2
    Last Post: October 17th, 2009, 04:13 AM
  2. One form with 2 different submit button?
    By sinner8347 in forum ASP Development
    Replies: 3
    Last Post: August 20th, 2008, 03:00 AM
  3. Replies: 7
    Last Post: March 7th, 2008, 12:13 PM
  4. Form Submit button
    By aahmed1972 in forum ASP Development
    Replies: 5
    Last Post: September 16th, 2005, 02:23 PM
  5. Two submit button on one form
    By Steve Schofield in forum ASP Development
    Replies: 1
    Last Post: August 18th, 2000, 05:29 PM

IMN logo majestic logo threadwatch logo seochat tools logo