Skip navigation
Jay S A
Currently Being Moderated

Asiigning variables in scriptobject

Jun 13, 2012 7:32 AM

Hi,

 

Can someone pls help me.

 

I would like to define all the variables in Script object and assign the field values to each variable.

 

Now how can i call those assigned variables on the form.

 

Thank you

Jay

 
Replies
  • Currently Being Moderated
    Jun 13, 2012 7:57 AM   in reply to Jay S A

    Hi Jay,

     

    Variables that are declared in script and only available within that script.

     

    Alternatively you can declare global variables or variables that are attached to the <desc> element of an object (http://assure.ly/x1QObn).

     

    Hope that helps,

     

    Niall

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 13, 2012 9:04 AM   in reply to Jay S A

    Hi,

     

    one more method that might be interesting for you, if you want to save field values that can be recovered later, is to store the values in the extras element of the fields.

    In opposite to the form variables or script objects, which are red-only, you're allowed to create, change and save the extras element at runtime.

     

    http://blogs.adobe.com/formfeed/2011/04/sample-convert-to-strict-scopi ng.html

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points