Title: Scripts stopped working
Last modified: February 13, 2021

---

# Scripts stopped working

 *  Resolved [cckarman](https://wordpress.org/support/users/cckarman/)
 * (@cckarman)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/scripts-stopped-working/)
 * Hi,
    I’ve been working on several options with your (great) plugin, focussing
   on loading data from the posts and hiding and showing fields. I was making good
   progress, but suddenly the scripts stopped working. I reduced the script tontje
   bare minimum (that was working before), but even that does not work anymore:
 * `<script>
    cpcff_default = { 1 : {} }; cpcff_default[1][ ‘fieldname6’ ] = 2; //
   aantal broden cpcff_default[1][ ‘fieldname10’ ] = 750; //deeggewicht cpcff_default[
   1][ ‘fieldname13’ ] = 65; //hydratatie cpcff_default[1][ ‘fieldname14’ ] = 25;//
   perc desem </script>‘
 * Any suggestions?
 * Best,
    Chris
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fscripts-stopped-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/scripts-stopped-working/#post-14046399)
 * Hello [@cckarman](https://wordpress.org/support/users/cckarman/)
 * The URL provided does not include a form built with our plugin. What do you mean
   with the script stopped working?
 * Best regards.
 *  Thread Starter [cckarman](https://wordpress.org/support/users/cckarman/)
 * (@cckarman)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/scripts-stopped-working/#post-14046406)
 * Sorry, the form is in the first post:
    [http://www.nietzomaareentaart.nl/blauweboekje/2021/02/06/elementor-15/#more-15](http://www.nietzomaareentaart.nl/blauweboekje/2021/02/06/elementor-15/#more-15)
 *  Thread Starter [cckarman](https://wordpress.org/support/users/cckarman/)
 * (@cckarman)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/scripts-stopped-working/#post-14046412)
 * The script does no longer add new data to the form. It should replace some of
   the default values, e.g. the first field is by default ‘1’ and the script should
   change it into ‘2’. It worked like a charm before, but no longer and I cannot
   see what I did wrong…
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/scripts-stopped-working/#post-14046506)
 * Hello [@cckarman](https://wordpress.org/support/users/cckarman/)
 * The issue is simple, you have used invalid single quote symbols in the line of
   code:
 *     ```
       cpcff_default[1][ ‘fieldname14’ ] = 25;
       ```
   
 * Causing a parser error. The correct symbols are:
 *     ```
       cpcff_default[1][ 'fieldname14' ] = 25;
       ```
   
 * Best regards.
 *  Thread Starter [cckarman](https://wordpress.org/support/users/cckarman/)
 * (@cckarman)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/scripts-stopped-working/#post-14046534)
 * Thanks, problem solved. I do not have this quote on my (iPad) keyboard, so will
   copy-paste in future.
 * Thanks again for your prompt replies!

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

The topic ‘Scripts stopped working’ is closed to new replies.

 * ![](https://ps.w.org/calculated-fields-form/assets/icon-256x256.jpg?rev=1734377)
 * [Calculated Fields Form](https://wordpress.org/plugins/calculated-fields-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/calculated-fields-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/calculated-fields-form/)
 * [Active Topics](https://wordpress.org/support/plugin/calculated-fields-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calculated-fields-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calculated-fields-form/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [cckarman](https://wordpress.org/support/users/cckarman/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/scripts-stopped-working/#post-14046534)
 * Status: resolved