Notices

Great community. Great ideas.

Welcome to ASP/Free, a community dedicated to helping beginners and professionals alike in improving their knowledge of Microsoft's development and administration technologies. Sign up today to gain access to the combined insight of tens of thousands of members.

Thread: Submit Button or a Address Form

Results 1 to 4 of 4
Share This Thread →
  1. #1
    ammweb is offline Registered User
    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
    gk53's Avatar
    gk53 is offline Contributing User
    Join Date
    Mar 2005
    Location
    Columbus, OH
    Posts
    1,535
    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

  3. #3
    ammweb is offline Registered User
    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!

  4. #4
    bigmike1212's Avatar
    bigmike1212 is offline 0x800A0C93
    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

Share This Thread →

Become Part of This Conversation

Join NowFor Free!

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

ASP Free Advertisers and Affiliates