Input
The input cards are useful when you need to ask the user for information and store it in a variable.
Last updated
The input cards are useful when you need to ask the user for information and store it in a variable.
Last updated
Ask the user about information and store it in a variable.
Ask the user about information and match it against a regular expression before saving it to a variable. Useful when you need to validate the inputted informationen.
As default each input card is triggered only if the variable is empty. The second time the card is triggered it will jump to the next state. You can change this by setting "ask_again" to true.
You can use the collected variable in a response card by placing the variable name inside double curly brackets.
The variable is also accessible in a custom component.
Property
Description
text
The text message that should ask for the variable
output
Variable name
ask_again
Default value: false. Change to true if you like to always ask for the variable each time the card is triggered.
pattern
Regular expresson to match
error_message
Error message to prompt if the variable doesn't match the pattern