AnsweredAssumed Answered

Set the default value for a date to the current date

Question asked by si_hutch on Jun 10, 2008
Latest reply on Jun 10, 2008 by si_hutch
Hi,

I have an aspect with an available from property that is of type d:date. I have made the property mandatory and would like the date to default to the current date upon creation. Is this possible using the <default> tag or could somebody advise me on the best way to achieve this.


<property name="test:availableFrom">
<title>Available From</title>
<type>d:date</type>                 
<mandatory enforced="true">true</mandatory>                  
</property>     
    
Regards

Si

Outcomes