diff --git a/wire/modules/Process/ProcessProfile/ProcessProfile.module b/wire/modules/Process/ProcessProfile/ProcessProfile.module index b27f379e..b065292d 100644 --- a/wire/modules/Process/ProcessProfile/ProcessProfile.module +++ b/wire/modules/Process/ProcessProfile/ProcessProfile.module @@ -173,6 +173,11 @@ class ProcessProfile extends Process implements ConfigurableModule, WirePageEdit } } else if($field->name === 'tfa_type') { $passRequiredInputfields[] = $inputfield; + if(!$inputfield->val()) { + // initialize manually so it can add hooks (it just does some visual/wording tweaks) + $tfa = $this->wire(new Tfa()); /** @var Tfa $tfa */ + $tfa->init(); + } } $fieldset->add($inputfield);