I already have several required form fields, this Russian robot is simply filling out all the required fields which it finds in the dmxConnect/api file.
Add a form field that contains the time taken to fill in the form. On the server, determine if that time is too short to enable a human to fill in the form. If so, reject the submission.
Thanks @ben, thats a clever idea but I think everyone has missed the point, its not the page that has the form which is the problem its the dmxConnect/api connection/send file which is being used directly.
I did have once a function file which checked that the information coming from the form was local and not some spammer but the dmxConnect/api connection/send file does not seem to have this.
What do you see in your browser when you run your: dmxConnect/api/Categories/RequestInfo.php directly from the “open in browser” button in Server Connect?
{
“form”: {
“name”: “This field is required.”,
“company”: “This field is required.”,
“email”: “This field is required.”,
“country”: “This field is required.”
}
}
We had 1300 junk emails in today, all Russian spam!
On mail send function I have various dynamic data that gets send in the email, things like ref. no. and url link to machine, in the spam all these are missing which tells me the spammer never used the actual request page but the api function instead.
So have you implemented this? Do you have such a condition in the server action, checking if the session created on page load is the same as the one in the input on the page (and if it even exists)?
Not sure i understand what you mean and what do you show with this screenshot.
I asked you to just change the condition in your server action, not to add any validations to the form: