![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Too lazy to set a custom title
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,911
|
![]() Need some help adding another validation to this script.
It already validates the top two forms, but it also needs to validate that at least 1 of the check box's has been checked. http://www.gainesvillewebs.com/czari..._results-2.htm Thanks in advance.
__________________
PornGuy skype me pornguy_epic AmateurDough The Hottes Shemales online! TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Jul 2001
Location: Utopia
Posts: 6,482
|
I can do everything
__________________
seks.ai for sale - ping me |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Too lazy to set a custom title
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,911
|
Ok. It has to give the alret just like the two forms above the check boxes.
__________________
PornGuy skype me pornguy_epic AmateurDough The Hottes Shemales online! TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Too lazy to set a custom title
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,911
|
Do you want me to mail you the js file???
This script works great, but we need to add in the check box thing.
__________________
PornGuy skype me pornguy_epic AmateurDough The Hottes Shemales online! TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Too lazy to set a custom title
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,911
|
Bump, I guess I am still looking for help.
__________________
PornGuy skype me pornguy_epic AmateurDough The Hottes Shemales online! TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Mar 2002
Posts: 553
|
ICQ: 45147309
contact me
__________________
No signature.. I am bored of the signatures aswell.. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Too lazy to set a custom title
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,911
|
Quote:
trying to get you now...
__________________
PornGuy skype me pornguy_epic AmateurDough The Hottes Shemales online! TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Aug 2002
Location: NY/MA
Posts: 572
|
icq below if you still need help.
__________________
icq: 327189899 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Programming King Pin
Industry Role:
Join Date: Oct 2003
Location: Montreal
Posts: 27,360
|
I wish I had some photoshop skillz!
![]() ![]()
__________________
UUGallery Builder - automated photo/video gallery plugin for Wordpress! ![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Feb 2004
Location: LA
Posts: 876
|
Yo I will STOP BY if you are in Gville... my charge is 8 ounces of sirloin and a couple of beers.
;) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Drinker of Scotch
Industry Role:
Join Date: May 2003
Location: Texas
Posts: 242
|
In your test of form document.forms['itinsearch'], the checkboxes are type "select-one" and will be in a zero-indexed array. You can loop through the array length to check whether any are selected and return the error as needed.
On a side note, it is good practice to always have a default value selected. Especially in this instance, where it is not possible to place an error message next to the offending field, because you will have no idea which field the user intends to select. So, force the user to change from the default selection. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Drinker of Scotch
Industry Role:
Join Date: May 2003
Location: Texas
Posts: 242
|
Hmmm... Time expired to edit the post. :/
The type is not 'select-one'. That applies to comboboxes. The type attribute will return 'radio'. You should test for 'checked' state. btw, happy easter... ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |