Date Validation - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Date Validation

Last post 02-24-2021 03:28 PM by Evanz. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 02-18-2021 10:25 AM

    • Evanz
    • Top 200 Contributor
    • Joined on 04-16-2020
    • Posts 60

    Date Validation

     Hi,

    I am trying to set a Start Date field with validation rule as Start Date <addDays(today(),11) for a minimum 10 days from submission date. However, when the form is submitted and after and/or more than 10 days if the user opens the submitted form and tries making edits for other fields. Then, the Start Date field will get an error due to validation rule, which is not good. Is there a better way to set a validation rule to avoid this error instead of using "addDays"? Any suggestion is greatly appreciated. Thanks :)

  • 02-19-2021 10:23 AM In reply to

    I'd probably just add a "FormDate" field and in an onload rule set that to today if it is currently blank. Then you can use that for your validation and it will stay stable.
    Hilary Stoupa

  • 02-24-2021 03:28 PM In reply to

    • Evanz
    • Top 200 Contributor
    • Joined on 04-16-2020
    • Posts 60

     Yeah, It works perfectly. Thanks for your great suggestion as always! :=)

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.