473,385 Members | 1,676 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Why am I still getting prompted on validation

Guys,

I am trying to proceed to the next page but, cannot because I cannot get passed the Validation Prompt "Select a Fish Angler". Wondering Why ?


var found_it //<EM>initial value is null because we gave it no other value
for (var i=0;i<document.form1.CarpAnglerFishId.length; i++)
{
if (document.form1.CarpAnglerFishId[i].checked)
{
found_it = document.form1.CarpAnglerFishId[i].value //set found_it equal to checked button's value
}
}


if(found_it != null && document.form1.CarpAnglerFishId.value != "") //<EM>if found_it is NOT equal to null, a button HAS been checked
{
document.form1.submit();
return true;
}
else
{
alert("Select a Fish Angler");
return false;
}


Response.Write("<td align=""left"">&nbsp;&nbsp;&nbsp;<input type=""radio"" name=""CarpAnglerFishId"" value='" & RS1("FishId") & "'>&nbsp;&nbsp;<font color=""white""><font color=""white"" size=""4"">" & RS1("FirstName") & " " & RS1("LastName") & "</font></td>" & vbCrlf)
Nov 26 '06 #1
0 1244

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: alikhome | last post by:
Hi! May be anybody knows... I want to open word file (or Excel) from IIS server (URL) without getting security window for input Username and password. I know Username, Password and Domain. I'm...
0
by: Ben | last post by:
Hi I used the following method to output to a word doc Response.Clear() Response.ContentType = "application/vnd.msword" Response.AddHeader ("Content-Disposition",...
1
by: darrel | last post by:
I have a form that has validators for each field. When I submit the form, if the field is invalid, it shows an error next to the field. Works perfectly. I also have a label at the top of the form...
2
by: JIM.H. | last post by:
Hello, I know the user I give in the connection string is the database admin, why am I getting the following message? Server Error in '/' Application...
1
by: jodyblau | last post by:
I applogize for posting this a second time (I posted in the access-multiuser group as well), but this group seems to respond more rapidly, and I have been trying to figure this out for what seems...
41
by: Jim | last post by:
Hi guys, I have an object which represents an "item" in a CMS "component" where an "item" in the most basic form just a field, and a "component" is effectively a table. "item" objects can be...
8
by: Tom | last post by:
I can open a .NET 1.1 project fine but when I try and open a page within that project I'm prompted for a username and password. Any ideas on why I would be prompted for a username and password...
3
by: Joseph Basil | last post by:
Here i hav done some validation fns in my project.there the validation summary i hav gn at the bottom of the page.but when the button is clicked and the validation works but it moves to the top of...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.