In native CiviCRM I would do this with a priceset; how do I do this with Webform CiviCRM?

1 Answer 1

  1. Add a field of type Date to the webform -> set it to default: now - and set it such that start date = now and end date = now; deselect the Enable popup calendar enter image description here

  2. Conditionals: example: enter image description here

  3. Hide the date field with CSS and hide your element with CSS - as you can see above mine is called today:

.webform-component--today {
  display: none; 
  • Very clever solution!
    – Coleman
    Commented Apr 20, 2018 at 15:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.