Forums / Setup & design / Setting default date in a form

Setting default date in a form

Author Message

Paul Carpenter

Sunday 11 April 2004 9:28:40 am

I have a form that includes an unpublish_date attribute. I would like to calculate the date 2 weeks from present and set that as the default value in the form. Is there a way to pass the value through attribute_edit_gui? Should I be doing this another way?

Thanks.

Pablo C. Vergara Castro

Friday 18 June 2004 3:10:29 am

Look in:

design/standard/templates/content/datatype/edit