callback="plusone_vote"

Form variables

Posted in: - Jan 14, 2012 No Comments

John Brinkman describes form variables in his post, covering all of the various options:

  • Creating variables in the File > Form Properties > Variables tab.
  • Creating a form variable in JavaScript.

I wanted to explore a use case where form variables associated with a particular field would be useful. As an example here is a form where each of the green buttons can contain a form variable in the button’s <desc> element. We can then script against the value of the button’s variable (null, 1 or 0).

You can use this approach for your own particular requirements.

Download: Assure Dynamics Locking certain buttons (desc element form variable)

No Responses to “Form variables”

Leave a Reply