• Resolved kjandrews

    (@kjandrews)


    Hi,

    Firstly great plugin!

    Unfortunately for us the plugin has stopped returning a value when using advanced calculated field editor functions and just provides the raw javascript inside the text box.

    This stopped working on the latest update 1.0.461 and was definitely working on version 1.0.457, as soon as we upgrade the plugin this stops working.

    We are using for example:

    (function() {
    return fieldname1 + fieldname2;
    });

    Ours is a little more complex than this and happens on the last “page break” as well.

    Any help would be very much appreciated!

    Kev

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter kjandrews

    (@kjandrews)

    We’ve tried uploading a previous version from a backup and still have the issue.

    I’ve tried to diagnose by uploading each changed file between both versions back to the older one to try and highlight which change causes the issue and none of the original files make it work again.

    However uninstalling the plugin, uploading the backup older version and reactivating has fixed the issue.

    Uninstalling then installing from the newest version of the plugin breaks again.

    Plugin Author codepeople

    (@codepeople)

    Hello @kjandrews

    No, your equation’s structure is incorrect. You must edit it as follows:

    (function() {
    return fieldname1 + fieldname2;
    })();

    Best regards.

    Thread Starter kjandrews

    (@kjandrews)

    Ahhh thanks very much, can’t believe I missed those ending brackets!

    All working ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Advanced calculations returning javascript inside input’ is closed to new replies.