Hi Guys,
I need some help creating an input mask for a date entry field. I would like the user to have the delimeters automatically pop up as they type in a date, or even have the delimeters pre-populated.
Listed below is the input which I would like to apply the input mask. I am pretty sure I can use javascript, but I don't know how to do it in javascript. What I am looking for is how to write that date javascrtipt function, and then how to call it correctly when the page loads.
<CFINPUT type="text" name="datetoday" size="12" maxlength="12" validate="date" onError="checkdate" >
I also need to get a input mask for currency. Again, listed below is the un-input mask text field.
<CFINPUT type="text" name="fare" size="12" maxlength="12">
Cheers,
gumby
I need some help creating an input mask for a date entry field. I would like the user to have the delimeters automatically pop up as they type in a date, or even have the delimeters pre-populated.
Listed below is the input which I would like to apply the input mask. I am pretty sure I can use javascript, but I don't know how to do it in javascript. What I am looking for is how to write that date javascrtipt function, and then how to call it correctly when the page loads.
<CFINPUT type="text" name="datetoday" size="12" maxlength="12" validate="date" onError="checkdate" >
I also need to get a input mask for currency. Again, listed below is the un-input mask text field.
<CFINPUT type="text" name="fare" size="12" maxlength="12">
Cheers,
gumby