Since the webform CiviCRM module to 6.2.2 the option to add a custom set related to the contact sub type when selecting the contact sub type under CiviCRM webform settings.

Drupal: 9.5.2 Webform civicrm: 6.2.2 CiviCRM: 5.57.1

To Replicate:

  1. Create a custom set for contact sub-type Student
  2. Create a webform and enable CiviCRM.
  3. Select contact sub type Student. No Custom set is loaded to add on the form.

1 Answer 1


This is a regression bug caused after fixing an issue related to the subtype having more than one word.

Have submitted the PR for the fix, can you please test and let us know if it's fixed for you?

  • 1
    The patch fixed the problem, but we encountered another problem related to custom sets so had to revert back to 6.2.1 Commented Jan 27, 2023 at 15:44
  • I have been experiencing this error for weeks now and it is preventing us from using our webform. I am glad to have found confirmation that the cause has been discovered. Does anyone know if and/or when this might be fixed?
    – EricLB
    Commented Jan 30, 2023 at 15:47

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.