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

Query

Arpita23
7 - Meteor

Hi everyone,

I want my workflow should through a warning if a user input numeric value in name and string value in phone number and a submit $ cancel button at the end. I want to do this using macros, how should I do this? For example

First name             123(warning)

Phone no               abc(warning)

           submit     cancel

5 REPLIES 5
AngelosPachis
16 - Nebula

Hi @Arpita23 ,

 

What tools are you using to allow the user to input values for name and phone number?

Arpita23
7 - Meteor

I am new to macros so I wanted to create it using macros, list box like something or any interface tools?

AngelosPachis
16 - Nebula

Hi @Arpita23 ,

 

I've mocked up a macro that allows the user to input their Name and their phone number and will throw and error if either of them contains the wrong characters

 

Error Message Macro.gif

 

The whole magic happens within those error message tools connected to each interface tool; if something does not match the given patter, the macro will error.

 

Hope that helps,

 

Angelos

 

Arpita23
7 - Meteor

Yes, this is what I was looking for,

Thankyou so much!!

Qiu
21 - Polaris
21 - Polaris

@Arpita23 
As a common practice, you need to mark @AngelosPachis answer as accept😁

Labels