Hard Coding Form Block Into Layout Question
Permalink
I'm trying to hard code a form block into one of my layouts. I created the block the regular way, add it to my scrapbook, named the block sidebar_case_form and then embedded the block by using this code:
$b = Block::getByName(sidebar_case_form');
$b->display();
The form now shows up in the layout but it only refreshes the page when I submit the form. No emails arrive and nothing shows up in reports. Am I missing something?
$b = Block::getByName(sidebar_case_form');
$b->display();
The form now shows up in the layout but it only refreshes the page when I submit the form. No emails arrive and nothing shows up in reports. Am I missing something?