Sterc / FormIt

A dynamic form processing Snippet for MODX Revolution
https://docs.modx.com/current/en/extras/formit
33 stars 58 forks source link

FormIt $hook not working with variable including a dot #205

Open travisbotello opened 5 years ago

travisbotello commented 5 years ago

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.