Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to stop duplicate publishing requests?

Avatar

Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
Level 2

27-02-2017

Hi,

Sometimes, our authors click the publish icon 5 to 6 times instead of just one time.  We don't want to act on these duplicate clicks. What is the best approach to achieve this?

Thanks

Sri

Replies

Avatar

Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

113 likes

Total Posts

395 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile

Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

113 likes

Total Posts

395 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
Level 7

27-02-2017

Hi,

I think you will have to override the activate button functionality and can put a condition for already published page.

OR you can make a add on where if someone hover the activate button it will stop you by pop-up.

 

~ Prince 

Avatar

Avatar
Validate 1
Level 10
edubey
Level 10

Likes

276 likes

Total Posts

1,502 posts

Correct Reply

392 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Validate 1
Level 10
edubey
Level 10

Likes

276 likes

Total Posts

1,502 posts

Correct Reply

392 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
edubey
Level 10

28-02-2017

Yup, better way would be to override the JS and disable the button till the time request for replication completes.

This approach is common and followed in many online forms to avoid duplicate submission.

Thanks

Avatar

Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
Level 2

28-02-2017

Hi Praveen,

Is there is any code snippet I can use? I am wondering how to do this customization. What JS I need to override? 

Thanks in advance!

Srini