PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Using shortcode inside form check box field

  1. spawnbay
    Member

    Is there a way to be able to use shortcode for a pop up plugin inside the value to a check box of a form? Im using a check box to make visitors agree to terms and conditions prior to adding an item to the cart. Id like to have the value: "[ ] I agree to terms and conditions" and be able to link the words "terms and conditions" to a pop up window.

    If anyone knows how i can do this ill be forever grateful!

    Posted 13 years ago on Friday July 29, 2011 | Permalink
  2. The check box values can contain HTML but shortcodes are not processed. Can you present the terms and conditions in another way, with an HTML link in your check box value which links to the terms and conditions?

    What plugin are you using for Terms and Conditions?

    Are the terms and conditions just a WordPress page that you can link to?

    How about grabbing the output that is generated by the shortcode (assuming it's not dynamic in some way) and just insert that into your check box value? You could assign whatever class or id you need to to make the popup work when the link is clicked.

    Posted 13 years ago on Saturday July 30, 2011 | Permalink
  3. how do you include a link to a checkbox label value. Can you provide an example. I want to put text of terms & conditions in a pop up -required

    Posted 13 years ago on Thursday August 4, 2011 | Permalink
  4. You would write HTML and put it in the choice label for that field. See this screenshot: http://i.imgur.com/93pU3.png

    Posted 13 years ago on Thursday August 4, 2011 | Permalink
  5. Terms & Conditions in a modal box?
    Anyone figure out how to do this?

    What are the features upcoming in 1.7? Anything like this?

    Posted 12 years ago on Thursday January 5, 2012 | Permalink