Lesson 10 - Scripting a SmartForm Flashcards
If scripting is a series of “When… if… then” statements, then Actions are the _____________, Events are
the _____________ and Conditions are the _____________.
Actions = Then; Events = When; Conditions = If
When configuring scripting, what are some of the different events that can take place for scripting
to begin?
Calculate, Click, Mouse Enter (a field), Mouse leave (a field), Right Click, ValueLoadedorChanged,
ValueChanged.
If scripting a data‐collecting component to appear/disappear, what other scripting must you do?
Making a component disappear does not automatically clear the data! Either script an action to clear
the data or script an action to make the ‘trigger’ component disabled when a detail is documented.
True or False: When you make changes to the content of your form, you must always test the
scripting to ensure you haven’t broken it.
True. Scripting may break when the components it references go missing, or potential values change.
What is the difference between a component data value and a component property value? In which
parts of scripting build can these terms appear?
Data value is the answer a user might select (“new” or “positive”). Property values are things found
on the Properties tab, generally concerning the appearance or behavior of a component (ex: visible,
enable, color). You can check either the data value or property value of a component in your
condition/checks, and you can also set either the data value or property value of a component in
your actions.