DatePicker - InfoPath Dev
in

InfoPath Dev

DatePicker

Last post 04-25-2013 05:48 AM by rcant. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 04-25-2013 04:10 AM

    DatePicker

    Hi

    I need the users to only be able to pick a date 3 days in the future. Please help.

  • 04-25-2013 05:45 AM In reply to

    • rcant
    • Top 500 Contributor
      Male
    • Joined on 03-24-2008
    • Rochester
    • Posts 27

    i would add a of rule

    CONDITION 

     field1 is not blank

    AND

    field1 is greater than  addDays(today(), 3) -------------   ( insert formula to input addDays(today(), 3) )

     when that condition is met you can add a couple of actions

     

    i.e throw message

    and/or

    clear the field (setfields value to "")

     

     

     

  • 04-25-2013 05:48 AM In reply to

    • rcant
    • Top 500 Contributor
      Male
    • Joined on 03-24-2008
    • Rochester
    • Posts 27

    sorry ..

     

    that will allow all dates that are less than 3 days in the future

     

    using the same function you can trim the amount of values your datefield will allow

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