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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. currency validator

currency validator

Scheduled Pinned Locked Moved ASP.NET
regex
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.
  • A Offline
    A Offline
    abdelhameed81
    wrote on last edited by
    #1

    i want to add a regular expression to validate the user input to be only in currency formate thanks abdelhameed81

    D 1 Reply Last reply
    0
    • A abdelhameed81

      i want to add a regular expression to validate the user input to be only in currency formate thanks abdelhameed81

      D Offline
      D Offline
      Dayekh
      wrote on last edited by
      #2

      Hi mate, The best way forward for all those kind of validators is using a regular expression validator: Look it up. It should be quite easy. There is a "ValidationExpression" property where you are supposed to input a complex expression which validates the input of Currency/Date/Time/Datetime/Numbers/Strings/Anything! Visit http://regexlib.com.DisplayPatterns.aspx It's a good site.

      A 1 Reply Last reply
      0
      • D Dayekh

        Hi mate, The best way forward for all those kind of validators is using a regular expression validator: Look it up. It should be quite easy. There is a "ValidationExpression" property where you are supposed to input a complex expression which validates the input of Currency/Date/Time/Datetime/Numbers/Strings/Anything! Visit http://regexlib.com.DisplayPatterns.aspx It's a good site.

        A Offline
        A Offline
        abdelhameed81
        wrote on last edited by
        #3

        thank you for your efforts, but i want to knw the expression it self thanks abdelhameed81

        S 1 Reply Last reply
        0
        • A abdelhameed81

          thank you for your efforts, but i want to knw the expression it self thanks abdelhameed81

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

          Hai Take Compare Validator and Change main Properties like this 1.Type=Currency 2.Operator= DataTypeCheck Thanks and Regards Siddu

          Siddu Software Developer

          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