0 Replies Latest reply on Mar 6, 2014 5:34 PM by bcpratt

    Calculation in dynamic stamp


      I'm trying to create a dynamic stamp and have followed a number of examples successfully.  I've created a new stamp and created a text field.  Clicking on the "properties" and then the "calculate" tab.  I've selected the "Custom calculation script" radio button then "Edit..." and then pasted my code into then ensuing Javascript Editor.  After clicking "Ok" I am returned to the "Calculate" tab, but it reverts to "Value is not calculated" radio button and the code I pasted is deleted.  What give?  No warnings about errors or anything.  The code was pulled from a sample stamp that works:

      event.value = event.source.stampName;

      console.println("Stamp Name: " + event.source.stampName);