Hi All,
This is my first post and i hope you can help me.
I have created a feature with sitecolumns and contenttypes. One of the columns are startdate and expiredate.
<Field ID="{03AA9C21-81F7-41d7-B5A5-CBEB40768C46}"
Name="StartDateColumn"
DisplayName="Start date"
Group="News Service General"
Type="DateTime"
ShowInEditForm="TRUE"
ShowInDisplayForm="TRUE"
ShowInNewForm="TRUE"
Description="Date from which news should be published."
Format="DateOnly" />
But i want make the startdate default date of today. And the expiredate = default(date.Now) + 1 week.
Can anybody help me please with this problem.
Thanks a lot.
Juniormoss :)