×

Ask for Input

iOS 14 +

Notes

Asks the user for input.

Syntax

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

Example

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