logo

New Response

« Return to the main article

You are replying to:

    • avatar
    • Stan Rogers
    • Posted on Thu 3 Oct 2002

    Until hard typing comes along for HTML fields, that's the way it works on the web. If you want to validate the values as date/time, then you need to create Date objects in JavaScript from the text values held in the HTML fields. If you check your HTML forms carefully, you'll see that all single-value "keyboard entry" fields are text fields -- they can be type converted in JavaScript (often implicitly rather than by casting methods) and will be converted to Notes data types on submit.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: