User Profile

Collapse

Profile Sidebar

Collapse
ammweb
ammweb
Last Activity: Jun 24 '08, 08:08 PM
Joined: Dec 12 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thank YOU!
    I had to put && in in place of the || but I got it to work. Code is below.
    How would you get a page that had 7 dropdown menus
    to be validate? So the viewer has to at least select one
    dropdown before hitting the submit button??? Can you put && over and over again?


    Code:
    <script type="text/javascript">
    <!--
    function ValidateForm(form){
    ...
    See more | Go to post
    Last edited by acoder; Jun 24 '08, 08:31 PM. Reason: Added code tags

    Leave a comment:


  • I'm sorry but I don't understand! The Code below works now but there is only one drop down list. How do I get the other drop down list to be validated too. Viewer needs to have a selection from one drop down list or the other or receive an Error message--"please make your selection"
    Code:
     <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    ...
    See more | Go to post

    Leave a comment:


  • I first tried one dropdown menu list and used your suggestion above, and it worked, but when I tried to added a second dropdown and use the OR operator, it didn't work. So my question is: How do you validate more than one dropdown menu list?

    Below the script that didn't work using the OR:
    Code:
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    ...
    See more | Go to post

    Leave a comment:


  • Validate--dropdown menu lists--no selection made

    How would you validate a page that had several drop down menus. When the submit button is submitted, and NO selection has been made?

    See code below:
    [HTML]<html>
    <head>

    </head>
    <body>

    <table width="100%" height="500px" border="0" cellpadding="0" cellspacing="0" >
    <tr>...
    See more | Go to post
    Last edited by gits; Jun 23 '08, 09:11 PM. Reason: added code tags

  • ammweb
    replied to Form Validation with List menu
    How would you set this up if you just wanted to check to see if at least one menu was selected. Validate that at least one menu had a value of 1 or more?
    See more | Go to post

    Leave a comment:


  • ammweb
    started a topic Date.Today to show up on page when it is loaded
    in .NET

    Date.Today to show up on page when it is loaded

    I am new to VB.NET and I am wanting the date December 12, 2006 to show up when the page is loaded.

    I have this on a label at the top of a page.

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArg s) Handles Me.Load
    Me.LoadControl( )
    lbldate.Text = Date.Today.ToSt ring("MMMM d, yyyy")
    End Sub
    End Class

    BUT I get an error for...
    See more | Go to post
No activity results to display
Show More
Working...