Quantcast
Channel: Classic ASP
Viewing all articles
Browse latest Browse all 488

help with asp code validating form data

$
0
0

Hello - I am hoping someone can help me.  I have a web-based form that inserts data into an access database.   All is working fine.  Now I would like to validate a field that requires a date field.

On the Access database side I have a field called DateEntry.  I have the Format set to Short Date, an Input Mask of 99/99/0000;0; and it is Required.

On the web form, in the DateEntry box, if you enter something other than the date (in the right format), the data mismatch code appears at the bottom.

My question is - can someone show me how to use code that will tell the user something like "invalid entry" instead of getting the data mismatch code??

This is very frustrating.  Been working on it for hours and no success.

Thank you!!!


Viewing all articles
Browse latest Browse all 488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>