2 Replies Latest reply on Aug 24, 2015 8:30 AM by BruceRobertson

    Clear a custom dialog box after entry

    ryanmead83

      Hi everyone,

       

      I have a custom dialog box that pops up when a user presses a button to capture a quick note.  It shows a custom dialog with an input field that saves that value as a global storage field.  When pressing Save on the dialog, it sets the $$QuickNote variable to the value from that field, and then creates a note with it.  This works fine as expected.  Problem is if you go and create another quick note during the same session, when the dialog box appears, it has your last note still typed in there.  How can I clear that when creating a new one?  Tried setting the global storage field to "" at the start of the script but no luck.  Can paste my script if necessary, thanks!