×

Ask for Input

iOS 14 +

Notes

Asks the user for input.

Syntax

askForInput(prompt: <#String (Allows Variables) (Optional)#>, type: <#Enumeration (WFInputType)#>, default: <#Dynamic Enum (WFAskActionDefaultAnswer) (Optional)#>, allowDecimal: <#Boolean (Optional)#>, allowNegative: <#Boolean (Optional)#>)

Example

askForInput(prompt: "How old are you?", type: Number, default: 12, allowDecimal: true, allowNegative: false)