The snippet below is one of the ways I attempted to require that the user fill out at least one of phone no. and/or email using webform conditionals. This one came closest to working. The logic is both fields default to required but that requirement clears when the other field is filled out. It fails because webform interprets it as a circular reference.

Any suggestions? I don't have the technical wherewithal to attempt the answer to question 87889 so looking for a way to do this using webform conditionals. Question 63912 looked promising until I realized it dealt with Drupal fields and not Webform fields.

Snippet from webform conditionals


Have you tried this module? https://www.drupal.org/project/webform_validation

I think it has what you are looking for.

enter image description here

  • Thanks, newbie mistake not thinking of looking for a module. Sorry it won't let me up vote your answer, I don't have enough reputation points. – SRQ_civicrm Mar 14 at 13:02
  • No problem. Good luck with your project. – Lesley Fernandes Moreira Mar 14 at 13:44

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.