Snippetcode isn't working

By: Yasin Karabek | Asked: 11/17/2022
ForumsCategory: Code SnippetsSnippetcode isn't working
Yasin Karabek asked 2 years ago
I used the snippet code from the website of Formidable fFroms to update the Woocommerce quantity input field with a form value. It worked well for a few months, but now it is not updating the Woocommerce quantity anymore.
In the attachment I also sent screenshot. The code i used is also in the snippet. I changed the field name to the right fieldkey. The Formidable Form support team couldn't help me because they said they tested the snippet code and it is working normaliy. But somehing at my site is trouble. I don't know what the problem is and how to fix it. I have no code skills.   I hope someone here can help me :)))    
Attachments
Rob LeVineRob LeVine replied 2 years ago

Can you provide a live link to the site (or a test link, as long as it shows the issue) and explain how to recreate the error?

Yasin Karabek replied 2 years ago

Yes of course, this is a link to one of the product pages: https://vloersimpel.nl/product/rustico-visgraat-10/

Yasin Karabek replied 2 years ago

I hope you can help me

Rob LeVineRob LeVine replied 2 years ago

You'll need to tell me what to click or what information to enter to recreate the issue.

Rob LeVineRob LeVine replied 2 years ago

Without more information all I can tell you is the jQuery code you have on that page is looking for a change to the hidden field with the key c1mfj335. That field is hidden and has the label "Aantal m²". If that value doesn't get changed, the jQuery code isn't going to set the "wooField" value.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right