+ 1

how to open signup form when click anywhere in the page

i already have signup form in my wordpress when i click ignup button it opens but i want to open sign up form when click anywhere in the page when user not logged in only in wordpress

17th Apr 2018, 2:36 AM
Pavan Chowdary Goli
Pavan Chowdary Goli - avatar
4 Antworten
+ 3
That's bad usability for the user, to force the sign up form to appear, wherever they click. It's better to get genuinely interested people signing up, rather than spamming people. If a sign up form appeared when I clicked somewhere random, I'd leave the website. Just trying to give you a heads up.
17th Apr 2018, 3:04 AM
Emma
+ 1
i agree with Xan regard the usability. I don't like you have to force me to make something ... Anyway, just to answer to your question, you can add a listener on the body or on a parent tag to trigger a click event. Then, after you signup, you can remove the event listener (prefer) or you can add an if condition inside the event callback. https://code.sololearn.com/W7Qsu4vgv8vM/?ref=app
17th Apr 2018, 3:27 AM
Michele Virgilio
Michele Virgilio - avatar
+ 1
So you are the next reason people uses adblock.😤
17th Apr 2018, 3:29 AM
Akib
Akib - avatar
0
i dont want this i have working in a company that is their requirement he is the boss i am the employer thats why i am doing what he is saying. i already suggested this thing (what you are saying) but he refused it thats why i am asking bro and thanks to every one.
20th Apr 2018, 2:21 AM
Pavan Chowdary Goli
Pavan Chowdary Goli - avatar