populate due date field based on date entered in date requested fi

A

abrown

I need to automatically populate the due date field 7 days after the date
entered in the date requested field. I'm sure this is fairly simple, but I
can't seem to figure it out.

Thanks,
Amber
 
A

abrown

I also need the due date field to be able to be manipulated, but it can not
be changed to a date within the first 7 days of the date requested. Thanks.
 
P

Paresh

I also need the due date field to be able to be manipulated, but it can not
be changed to a date within the first 7 days of the date requested. Thanks.

For adding 7 days to the date entered, please check the following
link:
http://blogs.msdn.com/infopath/archive/2005/01/25/360318.aspx
http://msdn.microsoft.com/en-us/library/bb230122.aspx
http://office.microsoft.com/en-us/infopath/HA100360601033.aspx

For validating the date, you will need to apply suitable data
validation condition for the second date field.

Do let me know, in case you need any further info.

Thanks,
Paresh
 
S

Swathi

Hi,
1.Put the default value of due date is addDays(requestedDate, 7)
2.Put the conditional formatting on due date.
a. msxsl:string-compare(duedate, xdDate:Now()) > 0
b. Check the read only check box.
 
A

abrown

I got an error when I entered addDays(requestedDate, 7)
The error said 'addDays' is not a valid XSLT or XPath function. What did I
do wrong?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top