Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Force user to enter a value into a text box in Alteryx app

lmoorlach
6 - Meteoroid

I know you can require certain things like a file browser into an input tool, but is there a way to require the user to enter a number into a text box that will update a text input tool and will not let the user run the app until they do so?

 

Thanks!

10 REPLIES 10
MelGibson
10 - Fireball

You can add a test tool and set the workflow to stop processing with an error. The message can let the person know what the issue is based on what you put in that test tool. 

lmoorlach
6 - Meteoroid

Thank you for your reply! I was hoping there was a way to not even allow it to run but that is a good work around!

JosephSerpis
17 - Castor
17 - Castor

Hi @lmoorlach you can use a Error Message Tool from the Interface Category which will immediately tell a user to enter input when they hit run and they won't be able to move forward until a value has been entered.

alexnajm
17 - Castor
17 - Castor

Also in this case I'd use a Numeric Up Down instead of a Text Box!

lmoorlach
6 - Meteoroid

What am I doing wrong? This will still run the app.

alexnajm
17 - Castor
17 - Castor

Pretty sure you need IsEmpty

lmoorlach
6 - Meteoroid

Just tried that. It is still allowing it to run, unfortunately.

alexnajm
17 - Castor
17 - Castor

I tried it on my side and it worked perfectly. How are you running it? You are clicking the wand and running as an app?

lmoorlach
6 - Meteoroid

I am using the wand, that's correct.

 

I just tried it again and this time it worked! I'm not sure what I did differently. Thanks for your help, I appreciate it!

Labels