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. Other Discussions
  3. IT & Infrastructure
  4. Problem in ASP Validation

Problem in ASP Validation

Scheduled Pinned Locked Moved IT & Infrastructure
helphtmldatabase
2 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.
  • S Offline
    S Offline
    Shraddha Gautam
    wrote on last edited by
    #1

    Hi all, I am facing a problem in ASP project. Can anyone plz help me with validation of an html page. I want to validate the fields on an html page and then submit the details in the database. I am able to add the details to the database. But if any of the field remains empty, then that particular column remains empty in the database. I am also able to display a message on the neext screen, if the user clicks on Submit. I want a message to be popped up at the screen itself. I urgently need some help...Plz let me know. Thanks in advance Regards, Shraddha

    P 1 Reply Last reply
    0
    • S Shraddha Gautam

      Hi all, I am facing a problem in ASP project. Can anyone plz help me with validation of an html page. I want to validate the fields on an html page and then submit the details in the database. I am able to add the details to the database. But if any of the field remains empty, then that particular column remains empty in the database. I am also able to display a message on the neext screen, if the user clicks on Submit. I want a message to be popped up at the screen itself. I urgently need some help...Plz let me know. Thanks in advance Regards, Shraddha

      P Offline
      P Offline
      Pavan Naidu
      wrote on last edited by
      #2

      Hi Shraddha, Are you using or ? If you are using submit button then you use onsubmit attribute at form tag. <!-- function submitconfirm() { /*var response=confirm("are you sure you want to submit?"); return response;*/ if(txt1.value == '') { alert('null value'); return false; } else frmname.submit() } //-->

      name:
      email:

      If you use button then you call javascript with button onclick event. Regards, Pavan.

      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