Lesson 10 - Scripting a SmartForm Flashcards

1
Q

If scripting is a series of “When… if… then” statements, then Actions are the _____________, Events are
the _____________ and Conditions are the _____________.

A

Actions = Then; Events = When; Conditions = If

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When configuring scripting, what are some of the different events that can take place for scripting
to begin?

A

Calculate, Click, Mouse Enter (a field), Mouse leave (a field), Right Click, ValueLoadedorChanged,
ValueChanged.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

If scripting a data‐collecting component to appear/disappear, what other scripting must you do?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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.

A

True. Scripting may break when the components it references go missing, or potential values change.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the difference between a component data value and a component property value? In which
parts of scripting build can these terms appear?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly