Sometimes, you would need to modify a variable value instead of creating a new variable with modified value. In this article, you will see the functions that are used to modify variable values using logic & programming provided by the Pretty Forms Designer add-on in Google Forms. The below functions are also known as Value Alteration Functions because the function calls alter an existing variable value.


Increment Number

Description: This function Increments an existing number variable value by adding a value given in "Increment by Number".

Return: None.


Decrement Number

Description: This function Decrements an existing number variable value by subtracting a value given in "Decrement by Number".

Return: None.


Append Text

Description: This function appends an existing text variable value by adding a text given in "Text to be appended".

Return: None.


Replace Text

Description: This function replaces a text given in "Old Text that will be replaced" in existing Text variable value by replacing old text with the new text given in "New Replacement Text".

Return: None.


Add to Text Array

Description: This function adds a text item given in "Text item to add" to the existing Text Array variable.

Return: None.


Remove from Text Array

Description: This function removes a text item given in "Text item to remove" from the existing Text Array variable if the item exists.

Return: None.


Invert Boolean

Description: This function Invert the existing Boolean variable value. If the Boolean variable value is true then this function call changes it to false.

Return: None.