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. Address Field Validation

Address Field Validation

Scheduled Pinned Locked Moved ASP.NET
3 Posts 2 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.
  • R Offline
    R Offline
    Rahithi
    wrote on last edited by
    #1

    Hi all, i need basic idea about this Address validation process. i am newbie to .Net technology, started working on a smaple project in .Net. it's about dish networking services project. Once a new customer comes in, his address (including zip code) details are taken and validated for correctness. here Zip code is not sufficient to validate the correctness, In the same Zip code also, according to the place, and building direction we can't provide Dish Networking services. so, it is necessary to take the address details and validate the address with the data which is stored in the database. so my doubt is how can i validate the address with database address details (backend data)?? because customers will enter the address in many ways.... please can anyone suggest me how to achieve this validation?? thanks, Rahi

    If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

    M 1 Reply Last reply
    0
    • R Rahithi

      Hi all, i need basic idea about this Address validation process. i am newbie to .Net technology, started working on a smaple project in .Net. it's about dish networking services project. Once a new customer comes in, his address (including zip code) details are taken and validated for correctness. here Zip code is not sufficient to validate the correctness, In the same Zip code also, according to the place, and building direction we can't provide Dish Networking services. so, it is necessary to take the address details and validate the address with the data which is stored in the database. so my doubt is how can i validate the address with database address details (backend data)?? because customers will enter the address in many ways.... please can anyone suggest me how to achieve this validation?? thanks, Rahi

      If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

      M Offline
      M Offline
      mareers
      wrote on last edited by
      #2

      u can ask the user to enter the fields in the specified format u want and u can restrict them entering invalid data using javascript.

      sreeram

      R 1 Reply Last reply
      0
      • M mareers

        u can ask the user to enter the fields in the specified format u want and u can restrict them entering invalid data using javascript.

        sreeram

        R Offline
        R Offline
        Rahithi
        wrote on last edited by
        #3

        Hi Sreeram, Thanks for the suggestion. but how can we restrict the user from entering invalid data.....i mean here we should not say invalid data.....but proper formatted data. if any user enters Ln instead of Lane (or) Rd instead of Road... in our database the data is stored in a formatted way....do u think that without using 3 rd party address validation software like UPPS formatters etc., it is possible to achieve my problem using javascript?? Thanks, Rahithi Sharma

        If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

        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