Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

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 February 3rd, 2003, 01:20 PM
donclick donclick is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: dallas, tx, usa
Posts: 15 donclick User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Red face Forms processing before submitting?

Hey guys - I usually hang out at the php side, but..

I have a form that I need to tweek out a bit, and it was suggested to me that I use Javascript..

I have a form that needs to display additional fields if a certain check box is selected. I am using php to actually process the form (the form is in 2 parts - form.html and process.php).

I was wanting to do an if/then kinda thing, but have no CLUE how to do it w/ javascript.

Essentially, if a user picks "yes", I want 3 more fields to show up. If they pick "no", continue on to the other questions.

There is a need for this to be done 2x on the same form - the form is to be used by a helpdesk to report outages, etc..

any advice, tips, samples, etc.. is appritiated..
Thanks!

Reply With Quote
  #2  
Old February 3rd, 2003, 04:53 PM
bricker42 bricker42 is offline
Moderator =(8^(|)
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2002
Location: Sacramento, CA
Posts: 1,710 bricker42 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 38 sec
Reputation Power: 8
Send a message via AIM to bricker42
Well, that's not going to be easy to do with Java .

Try asking again in the Html & Javascript forum. You'll get more help there.

(And don't worry, people stumble in here all the time looking for javascript help).
__________________
-james

Reply With Quote
  #3  
Old February 5th, 2003, 11:08 AM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 44 m 30 sec
Reputation Power: 8
If you are still interested I have come across some nice scripts are www.dynamicdrive.com. I would see if they might have what you are looking for.
__________________
El éxito consiste en una serie de pequeñas victorias día a día

MySQL, MS SQL, MS ACCESS, Oracle Database Manager - http://victorpendleton.net/products/psdviewer.html

Reply With Quote
  #4  
Old February 13th, 2003, 01:53 PM
halimanh halimanh is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 6 halimanh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I think there is no onClick event for check box. Instead you can use a graphical button that looks like a check box. then put onClick event that point to the javascript function to render additional rows (maybe need to redraw the whole form)

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > Forms processing before submitting?


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway