juergenweb / FrontendForms

A module for ProcessWire CMS to create and validate forms on the frontend easily using the Valitron library.
MIT License
15 stars 1 forks source link

Typo in README.md code sample #14

Closed gmclelland closed 1 month ago

gmclelland commented 1 month ago
// if you are not using a namespace at the top of your template file, you only have to call the namespace without leading backslash at the beginning
$form = new FrontenForms\Form('myForm'); // usage with custom ID inside the constructor and namespace in front of the class name.

This should be $form = new FrontendForms\Form('myForm');

Notice the missing letter d

Just thought you might like to know in case people are copying and pasting the sample code

juergenweb commented 1 month ago

Thanks for reporting this issue. I have corrected it.