If Then Else for setting state of element

I am trying to do the following;

  1. Page has custom state “Date list” which is a list of dates.
  2. Repeating group with list of Dates on the same page.
  3. When a date is clicked, the value of the text is added to the Date List (with a condition in the workflow for it to be added only when it’s not already there)

Now when I click on the same date again, I want to remove the date from Date List custom state.

However where do I add this action? Because whatever I’ve tried just undoes the action from #3.

Thanks!

Two workflow.

  1. Add when not already in the list
  2. Remove when already in the list
1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.