- 🇵🇹Portugal pedro-alves
Hello nessunluogo,
Just saw your email... sorry it ended up in inbox trash... best to use the forum here.
Regarding your question, Spam Master does not implement forms... it only scans forms for spam submissions or threats... please check drupal modules page to find modules that implement custom form building if that's what you need.Thanks.
- 🇮🇹Italy nessunluogo Tremestieri Etneo (CT)
Hi Pedro, I'll try to explain my issue in a better way.
I have a node/add form (for a specific node type) open to non verified users. I know it's a bad practice, but I can't change this. I want to add Spam Master protection to this /node/add/mycustomtype form.
In 1.73 (commit here) you introduced a generic SpamMasterElusiveService in place of SpamMasterLoginService but I didn't know how to use service with the node/add form. I watched for information and found this two articles:
The last one guides in adding a service to a custom form, but still can't figure how to do this with a node/add form.
Can you help?
Thank you in advance.
- 🇵🇹Portugal pedro-alves
Hi nessunluogo,
Always use the latest module version... and if possible keep it updated (current version is 1.83).
I have a node/add form (for a specific node type) open to non verified users. I know it's a bad practice, but I can't change this. I want to add Spam Master protection to this /node/add/mycustomtype form.
If you have a custom form Spam Master automatically scans the form submission... you don't need to add any special code neither tap into Spam Master functions.
If you want to test your form you can check Spam Master in Configuration -> Spam Master Settings -> Statistics and Log tab
(you should be able to see scan log entries when you submit your custom form).Further help implementing forms please refer to generic drupal community forum for help.