I'm receiving SPAM emails

danielitob 07 Jun, 2018
Hi,
i'm using a Contact Form on my site but i'm receiving SPAM email. I'm using
Check Google reCaptcha and in Fail Event: Event loader

how can I avoid these spam emails?

Thanks
regards
GreyHead 08 Jun, 2018
Hi danielitob,

Is the Google ReCaptcha working when you test?

Bob
danielitob 11 Jun, 2018
Yes, I have a strange behavior. The first time I fill in the form, if I don't flag the captch it gives me an error (but the captcha disappears). Any other submit of the form always gives me error because I don't flag the captch a(because it has disappeared)

How is it possible?
regards
GreyHead 12 Jun, 2018
Hi danieltob,

Are you using Ajax submit? I think I've seen this behaviour reported with a reload after the Ajax submit. If so try turning it off and see if that fixes the problem.

Bob
danielitob 12 Jun, 2018
hi bob,
you are right. thank you. After the submit, the site refer to the page: http://www.condominiosereno.it/contatti?chronoform=form-contatti&event=submit

How can I postpone to the same page?

http://www.condominiosereno.it/contatti

or to another one?
Regards
GreyHead 12 Jun, 2018
Hi danielitob,

You can use a ReDirect action as the last action in the On Submit event.

Bob
danielitob 13 Jun, 2018
Hi,
thanks, it's ok but if i have a custom code at the end of "On submit event", the redirect works but message doesn't appear.
I put custom code both before and after redirect event, but message doesn't appear.

regards
GreyHead 14 Jun, 2018
Hi danielitob,

I'm not sure what you need to do here. Nothing after a ReDirect action will be run.

Bob
danielitob 14 Jun, 2018
Can i put a confirmation message ?
GreyHead 14 Jun, 2018
Hi danieltob,

You can use the Messages action to display an System Message after the ReDirect.

Bob
danielitob 19 Jun, 2018
Hi Bob,
i 've user Message action (position: system message bar) after redirect. The redirect works but the message does not appear.
do I have to change any other options?
thanks
regards
daniele
DrSmith69 19 Jun, 2018
Hi Daniel,

I had the same issue with the message not showing up even though the redirect took place, i then moved the notification before the redirect and the message shows up 100% after the redirect takes place. I have a validation that looks for a completed field and if it is empty it redirects to the first page of the form with an error - setup like the below


I'm receiving SPAM emails image 1
healyhatman 20 Jun, 2018
A redirect clears all data and stops processing afterwards, which is why the message wasn't showing up.

You should use an event load action , but you should still have it after the message.
danielitob 20 Jun, 2018
thanks to all.
@healyhatman. I have put both value Yes and NO to "Stop processing after switching" but nothing, message doesn't appear.

have you any idea?
thanks
healyhatman 20 Jun, 2018
Get rid of the redirect
Stop processing after switching should be YES
And like I said the message should be BEFORE the event load
danielitob 21 Jun, 2018
Hi ,
it works but the link become :
mysite?chronoform=form-contatti&event=submit

How can i delete this string "?chronoform=form-contatti&event=submit" ?

Regards
healyhatman 21 Jun, 2018
You can't unless you set up overrides in htaccess or make Joomla menu items corresponding to each possibility but why bother?
This topic is locked and no more replies can be posted.