6

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

5
  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 Apr 20 '18 at 15:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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