Forum Discussion

Matthew Carter's avatar
Matthew Carter
Iron Contributor
Oct 28, 2022

One Date Picker Updates another Date Picker

I have a Termination Date Picker field and I have another Modified Termination Date Picker field further down in the form.  I would like it so that if the Modified Termination Date Picker field is up...
  • ganeshsanap's avatar
    Oct 29, 2022

    Matthew Carter Will the "Termination Date" field be changed by users from app OR it will be disabled for users and will be changed on when "Termination Date Modified" field is changed? 

     

    Try below solution for updating "Termination Date" field on change of "Termination Date Modified":

    1. Set OnChange & OnSelect property of TermDateModifiedDatePicker date control to: 

     

    Set(varPopulatedDate, Self.SelectedDate)

     

    • Set the DefaultDate proeperty of the TerminationDateDataCardValue date control to varPopulatedDate

    Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

Resources