Alteryx Designer Desktop Discussions

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

analytic App : validating the input/parameter values

Alteryx_user_aK
8 - Asteroid

Hi,

 

I am working on the app where I need to capture text input and date as parameter(interface) with below validation

- for text box, it should be upper case and must be entered (Mandatory)

- for date, it should be less than today's date.

 

if the criteria is not matching then message should be displayed on screen

 

Please let me know how to achieve it.

 

Thanks in advance

 

aK

 

4 REPLIES 4
JosephSerpis
17 - Castor
17 - Castor

Hi @Alteryx_user_aK use a Error Messeging tool from the Interface tool category to validate each of criteria. You probaly need two of them. They will Send a Error Messege which you can tailor and and stop processing. You can click Open Example to see how they work from the Tool bar menu.

Amol_Telore
11 - Bolide

Hey @Alteryx_user_aK 

 

Please see attached application for your reference. Hope this is what you are looking for.

 

Regards,

Amol Telore

Alteryx_user_aK
8 - Asteroid

Hello Joseph, I tried using error messaging tool but it is not working.

first I dragged down text box tool. then I connected it with Error message tool. in error message tool, I have added if condition like if isNull([#1]) then "True" else "false" endif. and in below window where it says the error message when the condition true, I added the message. but when I execute it with null value, I am not getting the error message.

 

Thanks

 

 

 

Alteryx_user_aK
8 - Asteroid

It is working. Thanks Amol

Labels