• We are pre-filling the Interested In field with the product title, but with the upgrade to version 5.4 it breaks this function. When the page loads it prefills the field but then disappears immediately.

    I have rolled back to 5.3.2 until this is fixed.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    <script type="text/javascript">
      jQuery(document).ready(function($) {
        $('#interestin').val('Skyjack SJIII 3215');
      });
    </script>

    This requires jQuery to work. Contact Form 7 5.4 doesn’t enqueue jQuery, so YOU need to enqueue jQuery if you use jQuery-based scripts.

    Thread Starter prompos123

    (@prompos123)

    The code works but only momentarily, and then is overwritten by cf7 js.

    We even tried with js only (no jQuery), but same result, it gets pre-filled momentarily but then is overwritten by cf7 js.

    Thread Starter prompos123

    (@prompos123)

    Could you please look into this further. I can’t update to the latest version of CF7 until I have a proper fix.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Version 5.4 breaks a prefilled field’ is closed to new replies.