[Prevent Spam Clicks] Preventing Spam click component not working

Forge Component
(6)
Published on 8 May by João Pedro Abreu
6 votes
Published on 8 May by João Pedro Abreu

Hi all, 

I tried to use the forge component to prevent spam click but it isn’t working for me. 

my button is Ajax submit.

after using the component, my button remained as disabled. any reason why? 

Hope to get an answer for this. Thanks! 

How does your preparation look like?

You mean the button preparation? 

Solution

Hi Olivier,


are you sure you are passing in a cooldown time different from 0 ?

Solution

Dorine Boudry wrote:

Hi Olivier,


are you sure you are passing in a cooldown time different from 0 ?

Thanks Dorine,

I tried to modify the javascript and missed out the cooldown time parameter to initialize.

Now is working already.