I a using Cognito forms to have people register for an event which occurs every other Wednesday.

How can I get the calendar function to not allow registration for any other days of the week (Mon, Tues, Thurs, Fri, Sat, Sun)

And also only allow registration on every other wednesday?

Thank you

1 Answer 1


To see if it was Wednesday use the calculation

=(DateField.DayOfWeek = "Wednesday")

To only allow for every other week use

=(Math.Floor(DateField.DayOfYear/7)%2 = 1)

To only allow for every other Wednesday use

=(DateField.DayOfWeek = "Wednesday") and (Math.Floor(DateField.DayOfYear/7)%2 = 1)

If that is the wrong week, change the 1 to 0 and the end.

This site is temporarily in read-only mode and not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .