analytic App : validating the input/parameter values
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
Solved! Go to Solution.
- Labels:
- Interface Tools
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey @Alteryx_user_aK
Please see attached application for your reference. Hope this is what you are looking for.
Regards,
Amol Telore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
It is working. Thanks Amol
