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.

Analytics app - Textbox and error message tool

yuqingh318
5 - Atom

Hi all,

I would like to have a error message displaying, when the person running the app enters a word in the Textbox which isn't found in a specific column of the main dataset. Is there a way to do this?

e.g.

Column AColumn BColumn C
Apple  
Pear  
Peach  

 

In the textbox the person enters 'Appl' instead of 'Apple' due to a typo. I'd like an error message stating 'Appl is not found in Column A'.

 

Thank you

4 REPLIES 4
IraWatt
17 - Castor
17 - Castor

Hey @yuqingh318,

There is the test tool:

IraWatt_0-1652720613766.png

It will error if certain criteria you define are not met. 

DataNath
17 - Castor
17 - Castor

I know it's sidestepping the point, but is a dropdown not suitable for your app? Using fields from a connected tool, you can ensure that the only options available to select are those which appear in the column you isolate.

yuqingh318
5 - Atom

Hi Nath, thanks for the reply. The above is just an example, as I have over 1500 items and a drop down would be huge in that case. 

gabrielvilella
14 - Magnetar

Hi @yuqingh318, the best way to achieve this is to have a chained application. The first app will have the text box, the user will insert the value and hit next. The app will then check that value against the dataset and will error out if the value was not found. If it was, then save the value the user inserted and load that on the next app.

 

Labels