You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.
In the documentation, there's the following statement:
"In the example code replace replaceWithFormName with the name of your form."
Reading this, it was not clear to me what should I replace it with. After digging into the code and quite a few tests, I believe 'replaceWithFormName' must be replaced with the name of the form (as defined in the admin panel of mautic), in lowercase and without whitespacess.
For example, if the form name is "Newsletter Signup", you'd need to replace replaceWithFormName with "newslettersignup":
MauticFormCallback['newslettersignup'] = {...}
I would be great if you can please update the documentation to make it more clear.
In the documentation, there's the following statement:
"In the example code replace replaceWithFormName with the name of your form."
Reading this, it was not clear to me what should I replace it with. After digging into the code and quite a few tests, I believe 'replaceWithFormName' must be replaced with the name of the form (as defined in the admin panel of mautic), in lowercase and without whitespacess.
For example, if the form name is "Newsletter Signup", you'd need to replace replaceWithFormName with "newslettersignup":
MauticFormCallback['newslettersignup'] = {...}
I would be great if you can please update the documentation to make it more clear.
Thanks in advance.
Affects the following URLs:
https://github.com/mautic/developer-documentation/blob/master/source/includes/_mauticjs_api_intro.md#js-form-processing-hooks
https://developer.mautic.org/#js-form-processing-hooks
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: