In SAIL saveInto parameters, updates the target with the given value. Use a!save for each item that you want to modify or alter in a
saveInto parameter. This function has no effect when called outside of a component’s saveInto parameter.
target: (List of Save) A
load() variable, rule input, process variable, or node input in which to save the value.
with() variables are reset each evaluation and cannot be used as save targets.
value: (Any Type) The value to save. The SAIL component’s updated value can be accessed using the special variable
a!save() can be called multiple times for a given component by passing them in a list to the component's saveInto parameter.
The target and value parameters are not evaluated until the user interacts with the component.
save!value is only available in
a!save()'s value parameter. It cannot be used in the target parameter or outside
If the component's updated value should be saved directly into a variable without modification, the a!save() function is not necessary (see first example below).
Copy and paste an example into the Interface Designer to see how this works.
Saving a variable without modification (doesn't need a!save function)
Upper-casing the typed text
Upper-casing and appending to the typed text
Upper-casing and appending to the typed text in one variable, saving unchanged to another
Modifying two variables based on the same typed text
Modifying two variables, one based on the typed text and one with an arbitrary value=
Modifying two variables, one based on the typed text and one conditionally
On This Page