Skip to Content
0
Former Member
Apr 15, 2009 at 12:16 PM

XML Forms : Set ' Valid from '& 'Valid to' dates.

30 Views

Hi,

I have created two fields in xml form for time based publishing & used "Lifetime" property for it .

With this , for first field "Valid From" i can set default value as current date by use of $locDate.

i.e. "Valid From" = current date ($locDate)

And for second field i.e. "Valid To" suggest me any solution to set default value as "current date + 7 days"

i.e.

"Valid To" = current date + 7 days

If any body have any kind of solution on this, please provide.

Thanks ,

Vishal

Edited by: Vishal Randive on Apr 15, 2009 2:17 PM