Skip to main content

In scripting block, when calling


input.textAsync("Your Name")

it would be convenient to have an optional second argument to provide a default value in the text field:


input.textAsync("Your Name", "Jane Doe")

Anyone have a workaround for this? E.g., You can code a default value if user enters nothing, BUT…there’s no way to enter nothing (i.e., requires user to enter a value before proceeding).


Anyone have a workaround for this? E.g., You can code a default value if user enters nothing, BUT…there’s no way to enter nothing (i.e., requires user to enter a value before proceeding).


You can put any letter or space, then delete it via backspace and “Next” button will remain active


Anyone have a workaround for this? E.g., You can code a default value if user enters nothing, BUT…there’s no way to enter nothing (i.e., requires user to enter a value before proceeding).


In my script, I prompt the user to enter 0 in the place of nothing. It’s not elegant, but it gets the job done.


Reply