[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.6

ASP Page with Java validation - Validation doesn't work.

Asked by LisaD in Web Languages/Standards

Tags: validation, bordercolorlight, replace

I don't know what I"m doing wrong? My object is to have this page pop a messaging stating please make you selection to continue if someone has not checked a checkbox.  I'd be willing to make it work anyway somebody can explain well enough for me to do.  I've read several tutorial but haven't had any luck so far.

Thanks in advance.

Asp page form:   This page automatically poplulates checkboxes based on the contents of a database table.  If someon tries to click "Next" without checking anything it needs to pop message.

<Form Name="frmoptions" Type="submit" Method="post" action=Request08Test.asp onsubmit="return Validate()">


<%
SQL = "SELECT ID, SoftwareName, SoftwareDescr, ABC_No, All_ABCs  FROM tblAvailableSW WHERE RetiredDate is NULL"
Set RS=ObjConn.execute(SQL)
%> <div align="left" style="padding-left: 6; padding-right: 6; padding-top: 3; padding-bottom: 3">
  <div align="center">
    <center>
    <table border="1" cellpadding="4" width="80%" id="AutoNumber2" bgcolor="#EBEBEB" cellspacing="4" style="border-collapse: collapse">
    <tr>
      <td width="200%" height="40" bordercolorlight="#C0C0C0" bordercolordark="#808080" colspan="2" >
      <span style="font-variant: small-caps">
      <font color="#000080"><b> No Cost Software Request</b></font></span></td>
    </tr>
<%


While Not RS.EOF
%>
<tr>
<td width="5%" bordercolorlight="#C0C0C0" bordercolordark="#808080" align="center"><b>

<!-- To get rid of the zero's in ABC no.:  Try to write a loop to replace it with ' '. or -->
<!--'     sNewNum=FormatNumber(sOldNum,0,-1) -->


<%  
Response.Write  " <input type=checkbox name=""Software"" value="""&RS("ID") &"""> "  
%>
<%   '         Response.Write RS("ABC_NO")%>

&nbsp;</td>
<td style="font-size: 10pt; font-family: Arial; color: #000080">
<b>
<%= RS("ABC_NO") & " - " %>
<%= RS("SoftwareName") & " - " %></b>
<%= RS("SoftwareDescr") & "   " %>
<%= "     ABC Number(s) required to install selected software: "%>
<%= RS("All_ABCs")%>&nbsp;</td></tr>


<%
RS.MoveNext
WEnd
%>
      <input type=hidden value=<%= RS("ABC_No") %> name=ABC_NO
      <input type=hidden value=<%= RS("SoftwareName") %> name=SoftwareName
      <input type=hidden value=<%= RS("All_ABCs") %> name=All_ABCs

<tr>
<td width="200%" align="left" style="border-left-width: 1; border-right-style: groove; border-right-width: 1; border-top-style: groove; border-top-width: 1; border-bottom-style: groove; border-bottom-width: 1" colspan="2">
<form method="POST" action="--WEBBOT-SELF--">
  <!--webbot bot="SaveResults" u-file="../../_private/form_results.csv" s-format="TEXT/CSV" s-label-fields="TRUE" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" --><p align="right">
  <input type="submit" value="Next" name="Submit">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  <input type="reset" value="Reset" name="Reset"></p>
</form>

end of form ***********************************************


JAVASCRIPT FILE:
function validate(frmoptions) {
      if ((document.frmoptions.software.value=="")||
      {
      alert ("Please select software by checking checkbox to

continue.")

      return false
      }
}
            
 
Related Solutions
Keywords: ASP Page with Java validation - Valid…
 
Loading Advertisement...
 
[+][-]01/16/04 03:17 PM, ID: 10133874Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/16/04 03:21 PM, ID: 10133889Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/16/04 03:23 PM, ID: 10133898Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/16/04 03:31 PM, ID: 10133924Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/16/04 03:50 PM, ID: 10134001Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/16/04 04:04 PM, ID: 10134061Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Web Languages/Standards
Tags: validation, bordercolorlight, replace
Sign Up Now!
Solution Provided By: ashish1977
Participating Experts: 3
Solution Grade: A
 
[+][-]01/17/04 09:10 PM, ID: 10139266Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]02/12/04 11:28 PM, ID: 10350114Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]11/09/04 02:11 PM, ID: 12539039Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]11/15/04 03:07 AM, ID: 12582696Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]11/19/04 03:28 AM, ID: 12624043Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89