But how to make this work with bricks is the issue. I have read the docs here Form Element ā Bricks Academy (bricksbuilder.io) But i dont know where the function part of the code goes. I have zero PHP knowledge. Thanks for helping.
Hey Martin, I have been trying to hide specific days as well but nothing seems to work, including your solution.
For [name=āform-field-idā] in your script, do we agree that it should be edited to something like [name=ācatoxjā] with ācatoxjā been the ID of the date picker form field?
I opened a thread on the forum, hoping to get some help, but havenāt received any feedback yet.
I have found the example in the Bricks Academy, as well as the option to disable dates by function on Flatpickr, but I donāt know how to merge both codesā¦
Any idea? Itās the only thing I need from the form and Iād hate to have to pay for Fluent Forms just for that.