473,394 Members | 1,699 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,394 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 1245

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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.