• Resolved ronreijgwart

    (@ronreijgwart)


    I’m using contact form 7 sometime now.
    I want to re-use a contact form but some parts don’t work anymore.
    I start the form with: <style>, but instaed of formating it show the contents.
    The same goes for <script>.
    Has there been a update to block this functionality and how can I resolve this.
    Regards Ron

    • This topic was modified 1 week, 5 days ago by ronreijgwart.
Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter ronreijgwart

    (@ronreijgwart)

    The two pieces of code are:

    • This reply was modified 1 week, 5 days ago by ronreijgwart.
    Thread Starter ronreijgwart

    (@ronreijgwart)

    <script language="Javascript" type="text/javascript">
    jQuery(document).ready

    (function($) {
    úse strict';
    $(document).ready( function() {
    $('form.wpcf7-form :input').change(function(e) {
    var $field = $(e.target);
    switch($field.attr('name')){
    case 'betaal_methode':
    var keuze2 = $(ïnput[name='betaal_methode']:checked").val();
    break;
    }
    switch (keuze2) {
    case 'iDeal':
    var bedrag = $("input[name='Totaal']").val();
    document.getElementById("pronamic_pay_amount").value = bedrag;
    break;
    case 'Overmaken':
    document.getElementById("pronamic_pay_amount").value = 0;
    break;
    }
    })

    This is a part of the code in which I want to fill the pronamic_pay_amount depending on the value of a radio item.
    I hope soemone can direct me how to solve this.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Where can we see the website in question?

    Thread Starter ronreijgwart

    (@ronreijgwart)

    Daar Takayuki,

    I had to remove the extra coding because we meedeed the page to work. I will restore some code in the contact page. The site is Canthonis.nl. Give me a few hours to do that.

    Thread Starter ronreijgwart

    (@ronreijgwart)

    Dear Takayuki,
    I put the code in the contact page.
    This is not the original page but you can see what the intantion is and how it reflex on the page.
    I hope you can get the idea of what I want to accomplice.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Where on the site do you have the form having the issue?

    Thread Starter ronreijgwart

    (@ronreijgwart)

    in the top menu you see contact, there you will find the forn.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    What other plugins and theme do you use on the site?

    Thread Starter ronreijgwart

    (@ronreijgwart)

    I use elementor.
    Theme is Blocksy.
    Plugins are: Blocksy Companion, Calculation for contact form 7, Contact form 7, Contact form Entries, Content Control, Duplicator, Elementor, Essential addons for elementor, Insert php code snippet, members, nav menu roles, PDF embedder, popup box, profile Builder, pronamic pay met Mollie voor Contact form 7, redirection for contact form 7, send users email, smart slider 3, tablepress, ultra addons for contact form 7, wordfence security, WP Bestandsbeheer and wp mail smtp

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try switching to the default theme, deactivating all plugins excluding Contact Form 7, Wordfence Security and WP Mail SMTP, and clearing all cache data.

    Why you are advised to deactivate plugins and switch to the default theme.

    Thread Starter ronreijgwart

    (@ronreijgwart)

    Hello Takayuki,

    I think I found the problem.
    On a development server I created a new wordpress and used the next plugins:
    theme: Blocky including Blocky Companion
    plugins: Contact form 7
    Contact Form Entries
    Elementor
    Essential Addons for Elementor
    So far no problems.
    After that in added ‘Ultra Addons for Contact Form 7’ and there the problem showed up.
    I think the problem is in this addon by Themefic.
    Please give me some advice because I wanted to use this addon for the ‘Conditional fields’

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    If it were really caused by the “Ultra Addons for Contact Form 7” plugin, there would be nothing I could do for you. Contact the plugin’s support if possible.

    Thread Starter ronreijgwart

    (@ronreijgwart)

    I already send the developer of “Ultra Addons for Contact Form 7” a email about this problem including some screenshots.

    Thanks for your support

Viewing 13 replies - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.