Jeff
|
| Posted: 08/15/2002, 2:01 PM |
|
anyone know how to get the auto date function in CC JSP? =Date() isn't working. I also cannot find anything on the message board for this function.
|
|
|
 |
Patrick
|
| Posted: 08/15/2002, 3:50 PM |
|
Hi Jeff,
I suppose you are trying to insert "=Date()" in the default value of the field! To have todays date inserted in the field by default, you have to go to Form proprieties -> Events -> Before show insert -> and type "fldDate = new java.text.SimpleDateFormat("dd.MM.yyyy").format(new java.util.Date());" if your field name is Date.
Hope this helps!
pslama@axelogis.com
|
|
|
 |
Jeff
|
| Posted: 08/15/2002, 11:37 PM |
|
Once I saw your comment I felt pretty stupid and looked at the CC classifieds. On the AddMyRecord template, Form Properties, under events, it clearly has this data avail. Hopefully this will assist. anyone else that couldnt find it on their own.
|
|
|
 |
|