JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 11th, 2012, 03:56 PM
ammweb ammweb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Posts: 5 ammweb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 26 m 46 sec
Reputation Power: 0
jQuery - Hide or not to Hide

On this form, if the viewer only checks the checkboxes and types in the textarea only, then I want the Address Info to be visible at the bottom of the page

If they fill in the check boxes and either, the drop down boxes for Votive Lights or the radio button for a Donation, then NO address form should be visible.

These are not selection lists, they are all separate sections
The first choice is checkbox fields, second choice is a textarea.

If they only select either or both of these--I want an include file with address info to appear at the bottom of the page.

The third, fourth and fifth choices are dropdown list and radio buttons with money values, if they select any of these, I DON'T want the include file with the address info to appear.

On the website form,
At the bottom of the page, it features Your Name and Address info. Name, Address, City, State etc. (it is set up in an include file)

I want the include file (Address Info) to show up on this page, only if the person checks the check boxes and/or fills in the textarea.

BUT if
a person checks the check boxs and also selects a dropdown box (Money value) or selects a radio button (Money value) I don't want the Address Info to show up.

Does this make more sense?

Thanks for your patience!

Reply With Quote
  #2  
Old December 13th, 2012, 05:05 AM
acki4711 acki4711 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2012
Posts: 7 acki4711 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 16 m 32 sec
Reputation Power: 0
It would help if I could see 'this form' somewhere...
Otherwhise I don't get it at all, and what makes sense depends on what you wana do ???
So what is your question exactly ???

acki4711

Reply With Quote
  #3  
Old December 13th, 2012, 03:22 PM
ammweb ammweb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Posts: 5 ammweb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 26 m 46 sec
Reputation Power: 0
I want to make an include file to appear on the page only when a viewer selects the check boxes and nothing else.
Here is the code:
code Code:
Original - code Code
     <table width="100%" align="center" class="tbledoublebr" bgcolor="#F6EDE0">         <tr><td colspan="3" bgcolor="#FEFCF1">      <center><span class="h1red"> My  Intentions </span> </center>  </td>  </tr>     <tr class="tableeven">       <td width="168" valign="middle" class="pettxt" COLSTART="1">     &nbsp; <input name="PETITIONS" type="CHECKBOX" id="PETITIONS" value="Peace on Earth"/> Peace on earth</td>       <td width="137" valign="middle" class="pettxt" COLSTART="2">         <input type="checkbox" name="PETITIONS" id=<span class="highlight">"PETITIONS</span>" value="Peace of mind"  /> Peace of mind</td>       <td width="162" valign="middle" class="pettxt" COLSTART="3">         <input name="PETITIONS" type="CHECKBOX" id="PETITIONS" value="In Thanksgiving" />         In thanksgiving</td>     </tr> </table>


If they check any of these PETITIONS check boxes, I want an
include file with an addressform to appear at the bottom of the page.

Code:
 <p>
    <span class="pettxt">
      <!--#include virtual="/aspscripts/include/addressform12.asp" -->
    </span></p>

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > jQuery - Hide or not to Hide

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap