I\'m trying to make a date textbox on my blog, and the date is only numbers. I don\'t want anybody making a mistake typing a letter. Is there any way to limit the characters
Yes, you need some JavaScript to do this. I found the JQuery date picker widget very useful to do exactly what you're wanting. The code that used to implement it is:
html to create the text field and not allow manual manipulation:
the JS line binding the picker to the field with a specific format that my server side process is expecting:
$('#tvpostingdate').datepicker({ dateFormat: "mmddyy"});
You can find more information here: http://jqueryui.com/datepicker/