New answers tagged forms
1
vote
Is it possible to change the output of CRM_Core_Error::debug($form)?
Yes, you can do similar to CRM_Core_Error::debug_var but using the html dumper:
$dumpForm = (new \Symfony\Component\VarDumper\Dumper\HtmlDumper('php://output'))
->dump((new \Symfony\Component\...
1
vote
How can I determine which PHP Form class a displaying Form belongs to?
Appending &smartyDebug=1 to the URL will pop out a window that contains a lot of info including formName and formClass.
1
vote
How can I determine which PHP Form class a displaying Form belongs to?
Yes, to modify the form you can hook_civicrm_buildForm. If you print the $formName you should be able to see formname on screen.
I normally use Civi build in function for debuggings
To print on ...
Top 50 recent answers are included
Related Tags
forms × 183profile × 36
wordpress × 35
civimember × 15
civievent × 14
custom-fields × 13
civicontribute × 12
webform-civicrm × 11
drupal × 10
contacts × 9
joomla × 9
hooks × 8
api × 7
extension × 7
contribution-page × 7
contributions × 6
fields × 6
php × 4
css × 4
integration × 4
newsletter × 4
email × 3
groups × 3
payment-processor × 3
relationships × 3