Ken Hardwick
|
| Posted: 06/14/2002, 1:38 PM |
|
Using ASP...I would like to setup a date field on a update/insert form in which the date can only be entered thru the use of a popup calendar.
Any suggestions...thanks..Ken
|
|
|
 |
Nicole
|
| Posted: 06/15/2002, 2:41 AM |
|
Ken,
may be it makes sense to use Hidden field or readonly textbox...
|
|
|
 |
Ken Hardwick
|
| Posted: 06/15/2002, 8:17 AM |
|
Well I was able to figure out a way to do this ...
I found and figured out a way to use...onFocus=this.blur()
in conjunction with a popup calendar
Made date_assigned a label/html field...
and added date_assignedH as a hidden field for same database field.
then in show event...
'converts to 4-digit year
flddate_assigned = my_date_format(flddate_assigned , 2)
flddate_assigned = "<INPUT TYPE=""text"" NAME=""date_assigned"" SIZE=""10"" value=""" & flddate_assigned & """ onFocus=""this.blur()"">"
Then in before Insert/Update events...
added...
flddate_resolvedH = GetParam("date_resolved")
Download link for this ccs file is listed in my popup calendar article. http://www.gotocode.com/artPreview.asp?art_id=156&
|
|
|
 |
|