I have a plugin I’m using that creates a pop-up when clicking on specified text to display terms and conditions. The way it works normally is I just include the shortcode in my page where i want it to display eg. [AnythingPopup id="2"] This results in the relevant text being displayed (as specified in the popup plugin settings) that when clicked launches the custom popup. If you’re not sure what I mean and want to see a demo of how the plugin works go to http://www.gopiplus.com/work/2012/05/25/wordpress-popup-plugin-anything-popup/
What I’m trying to achieve is to use this shortcode in an option line for a checkbox so that it looks something like [Checkbox] I agree with the terms and conditions (when terms and conditions is clicked the popup launches – the words terms and conditions would he the words defined in the plugin settings that would normally be displayed by putting the shortcode in the relevant place on the page/post).




October 30, 2012 at 11:12 am
Take a look at this thread: http://formidablepro.com/help-desk/checkbox-with-terms-and-conditions-link-to-existing-page/
When you follow these instructions and insert the shortcode instead of the URL, does that work?
if not, it should work to use a plugin like pretyPhoto Media to open the terms in a popup. Then your Link that you use in the instructions linked to above would contain rel=prettyPhoto per that plugin's documentation.
October 30, 2012 at 3:35 pm
Hi Steve,
Thanks for the reply however the solution in the thread you referred to isn't our preferred solution as it directs the user away from the form rather than being a popup over the top of the form.
I will take a look at pretyPhoto to see if that may do what what I'm looking for and let you know either way.
Thanks
October 30, 2012 at 6:12 pm
Hi Steve,
I've installed the prettyPhoto plugin and that has solved it for me.
Many thanks.
Topic closed.