skydiver / october-plugin-forms

Create easy (and almost magic) AJAX forms
https://octobercms.com/plugin/martin-forms
MIT License
60 stars 41 forks source link

Currently Getting this Error when submitting my Ajax Upload Form #268

Open StanleyBonhomme opened 2 years ago

StanleyBonhomme commented 2 years ago

brave_droWcXh8o2

Currently Getting this Error when submitting my Ajax Upload Form. Any idea as to why?

ArtemisMir commented 1 year ago

The error occurs due to the use of special characters in field names, such as name="Europe/Berlin" Solution: /plugins/martin/forms/classes/BackendHelpers.php:82 $pattern = '/{{\s('.preg_quote($pattern, '/').')\s}}/';