Skip Navigation

[Resolved] Show cred form between specific dates

This support ticket is created 3 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 1.54 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 2 replies, has 2 voices.

Last updated by serenus 3 years, 8 months ago.

Assisted by: Jamal.

Author
Posts
#1993967

We use cred forms for some contest entries. Is there a straight forward way to hide the forms outside of the contest entry period?

#1994273

Hello and thank you for contacting the Toolset support.

There is not such a feature using a configuration on the form or somewhere else. But you can still put the form inside a condition between two dates. If you need to get the dates automatically, you can build a custom function and register it to be used inside conditions. https://toolset.com/documentation/programmer-reference/views/using-custom-functions-in-conditions/

Toolset offers some date functions that you can use inside the conditions. https://toolset.com/documentation/user-guides/views/date-filters/

I hope this helps. Let me know if you have any questions.

#1997019

I had thought about the filter but I already have a condition for logged in so I was looking for more straightforward. The function approach might be a cleaner and easier to track/update way to do this.

My issue is resolved now. Thank you!