• Resolved keypanda

    (@keypanda)


    After the last update, it renders the fields twice on all my sites.
    For example [hidden a_field id:a_field “1”] outputs:
    <input id=”a_field” class=”wpcf7-hidden” type=”hidden” value=”1″ name=”a_field”>
    <input id=”a_field” class=”wpcf7-hidden” type=”hidden” value=”1″ name=”a_field”>

    Is it a bug or it is my sites?

    Thanks

    https://www.ads-software.com/extend/plugins/contact-form-7-modules/

Viewing 6 replies - 1 through 6 (of 6 total)
  • I’m seeing this also.

    I’m also seeing this behavior.

    I was able to get around it by creating a normal text field and then assigning it a class that sets it to display:none; However, that defeats the point of this plugin.

    Thread Starter keypanda

    (@keypanda)

    I commented this line out in the plugin to solve the problem:

    $html .= ‘<input type=”hidden” name=”‘ . $raw_name . ‘” value=”‘ . esc_attr( $value ) . ‘”‘ . $atts . ‘ />’.”\n”;

    Don’t understand why it is needed.

    I am getting doubles as well. Luckily, I’m only checking the value, not using or printing it.

    Seeing this too. It seemed to have been introduced in 1.3.1, but why? Adding the second line seems intended, so I guess there was a reason for it.

    Plugin Author Zack Katz

    (@katzwebdesign)

    This is fixed in 1.3.2 – there was a reason for it, but I should have checked to see if the name of the field had changed.

    Anyway, it’s fixed in the version just released.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Render the fields twice’ is closed to new replies.