Awesome Support Documentation

Tips and Tricks

Trigger The Popup Form From A Custom Button

You can prevent the HELP button from being shown while still keeping the Javascript  code that pops up the form enabled.  To do this, you just need to enable the INVISIBLE BUTTON option.

Then, you can choose any element on your page and trigger the code behind the invisible button using the button’s .click() method.  For example:

document.getElementById("wpas-button").click();

Availability: Version 1.0.5 or later

Share:

Copyright © www.getawesomesupport.com 2014-2018. All rights reserved.