Calculation of date - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Calculation of date

Last post 08-19-2020 06:08 PM by hjsh01. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-18-2020 05:56 PM

    • hjsh01
    • Not Ranked
    • Joined on 08-16-2020
    • Posts 7

    Calculation of date

    Hi All, I am new to infopath and have met with some error that I am unable to resolved. I am doing up a template that will do date calculation automatically with the following condition. 1. I have a date picker field called "startDate" which is set to default value now() 2. I have a "count" value field that is auto populated based on 1 field (type of item) that user select, so it can be 30 or 60 based on the selection 3. I have a second date picker field called "dueDate" which is set to default value addDays(startDate, Count) 4. I have 2 additional text fields, 1 called managerExt (30) and 1 called directorExt (60) - which populate different value 5. I have the last date picker field called "extendedDate" which i set 2 "Action" rules -> Condition managerExt "is not blank" -> set a field's value extendedDate = addDays(dueDate,30) -> Condition directorExt "is not blank" -> set a field's value extendedDate = addDays(dueDate,60). Looking for help on point 5 as i am unable to run it. All date picker format have been preset with properties of "English (United States" 3/14/2001, (Do not display time)
  • 08-19-2020 10:25 AM In reply to

    So - I think you may have made an error and set the rules for item 5 on the extendedDate field? Rules run when a field changes, so you would want the rules set on managerExt and directorExt instead. :)
    Hilary Stoupa

  • 08-19-2020 06:08 PM In reply to

    • hjsh01
    • Not Ranked
    • Joined on 08-16-2020
    • Posts 7
    Thank Hilary! That solve the issue.
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.