Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. RequiredFieldValidator price range

RequiredFieldValidator price range

Scheduled Pinned Locked Moved ASP.NET
csshelptutorialquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Casper Hansen
    wrote on last edited by
    #1

    Hello all I have 2 textboxes on my aspx site which I want to validate. I want to make sure that the second textbox value is higher than the first one. For example: The user inputs 40 in the first textbox and 20 in the second. This will give an error since 20 is less than 40. But if the user types 40 and 60 it should work. It should also be numbers only :) Any ideas? Cheers! :-D

    A C 2 Replies Last reply
    0
    • C Casper Hansen

      Hello all I have 2 textboxes on my aspx site which I want to validate. I want to make sure that the second textbox value is higher than the first one. For example: The user inputs 40 in the first textbox and 20 in the second. This will give an error since 20 is less than 40. But if the user types 40 and 60 it should work. It should also be numbers only :) Any ideas? Cheers! :-D

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      What is the issue ? You can easily do it using JavaScript.

      Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

      1 Reply Last reply
      0
      • C Casper Hansen

        Hello all I have 2 textboxes on my aspx site which I want to validate. I want to make sure that the second textbox value is higher than the first one. For example: The user inputs 40 in the first textbox and 20 in the second. This will give an error since 20 is less than 40. But if the user types 40 and 60 it should work. It should also be numbers only :) Any ideas? Cheers! :-D

        C Offline
        C Offline
        Casper Hansen
        wrote on last edited by
        #3

        Solved

        S 1 Reply Last reply
        0
        • C Casper Hansen

          Solved

          S Offline
          S Offline
          sashidhar
          wrote on last edited by
          #4

          Casper Hansen wrote:

          Solved

          Not Solved..! He dont want to compare..! Hewant to chek the value is greater then first..!

          LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups