For some frontend related reasons I am using variables like so:
form-1.last_name
form-1.first_name
etc.
I am not able to get those variables with $hook->getValue('form-1.last_name'). Also the placeholders in the email hook are not getting replaced properly. Is there any reason why this is not working?
Right now I am using my own hooks and pulling in the variables via $_POST.
For some frontend related reasons I am using variables like so:
form-1.last_name form-1.first_name etc.
I am not able to get those variables with
$hook->getValue('form-1.last_name')
. Also the placeholders in theemail
hook are not getting replaced properly. Is there any reason why this is not working?Right now I am using my own hooks and pulling in the variables via
$_POST
.