No Checkbox with required text

resolved (3 posts) (2 voices)

  1. jmillgraphics
    Member

    I'm using the theme Modular, and when I chose to make a checkbox or radio button required, the box or circle will vanish leaving only text with the * mark. This makes it impossible to mark it. Is there any way to make it visible and required? I would also like to add a link within the text without it disappearing if possible.

    Here is a sample page of what I mean:
    http://jmillgraphics.com/blackmanlegal/2011/10/11/3883/

    Posted 7 months ago #
  2. Elliott
    Support

    Hello jmillgraphics,

    Try opening up /wp-content/themes/[your_theme]/lib/scripts/custom.js and on line 771 you should see this,

    if((inputs[a].type == "checkbox" || inputs[a].type == "radio") && inputs[a].className == "styled") {

    Try changing it like this,

    if((inputs[a].type == "checkbox" || inputs[a].type == "radio")) {

    As for putting links in the label you should be able to just insert them in the shortcode like so,

    [checkbox label="Read our <a href = 'http://www.google.com'>TOS</a>" required = "true"]

    Just be careful about nesting single and double quotes correctly.

    Posted 7 months ago #
  3. jmillgraphics
    Member

    Thanks. That worked well.

    Posted 7 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme