If I understand correctly, the hiding/showing of groups depends on the value of 2 fields?
It’s possible but it can grow quit complex pretty fast. With Conditional fields Pro it will be possible to write regular expressions so you could write it all in one line. For now, however, you will need to srite something like this:
if day = monday then show monday-group
if day = tuesday then show tuesday-group
…
if monday-hours = 8:00-9:00 then show monday-hours-group
if monday-hours = 8:00-8:15 then show monday-hours-group
…
Your form should then look like this:
[select day "monday" "tuesday" ...]
[group monday-group]
[select monday-hours "8:00-9:00" "..."]
[group monday-hours-group]
[text field-monday-1]
[text field-monday-2]
[/group]
[/group]
[group tuesday-group]
[select tuesday-hours "8:00-10:00" "..."]
[group tuesday-hours-group]
[text field-monday-1]
[text field-monday-2]
[/group]
[/group]
...
Hope this makes sense? If not , I probably misunderstood the question. Could you set up a form for me as close to what you want as possible and give me the link?
Hey Jules,
Thanks for the quick reply! I think we’re on the same page, however what I’m looking to use instead of “Monday”, “Tuesday” etc is the actual calendar feature of contact form 7 such as [date Date placeholder “Date”]. I’m wondering if on the calendar say they choose December 14, 2017 which happens to be a Thursday can I then show the Thursday hours in a drop down to choose from?
I guess what I’m looking for is for the calendar itself to be the driver…Is that possible?
Thanks,
Andy.
Not possible right now. But I think it’s a good idea to, apart from the regular expressions, provide a flexible way to code any additional conditional logic. Don’t expect this kind of function anytime soon though. Bit too busy for the moment, sorry 🙂