Alteryx Designer Desktop Discussions

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

App that lets user input text OR file

mcha54
8 - Asteroid

Hi! I'm trying to make an app where a user can input single text OR pick a file. Then it will do some processing depending on their choice.

 

My first thought was using the interface tools to enable/disable containers with those two inputs.

First I ask the user which option they want (text input or file input), then use a condition that will enable the appropriate container.

However, it looks like disabled containers can't contain interface tools.

 

Is there another way to approach this?

 

2020-01-21_11-56-27.png2020-01-21_11-52-48.png

4 REPLIES 4
afv2688
16 - Nebula
16 - Nebula

Hello @mcha54 ,

 

Leave the interface tools out of the containers. The containers will be disabled and nothing will run through.

 

If you want to do a selection use better the radio buttons. They have the option to 'collapse when deselected' where you wont see the option (textbox or file) unless this is selected.

 

Regards

fmvizcaino
17 - Castor
17 - Castor

Hi @mcha54 ,

 

Attached is an analytical app with an example with text inputs showing how to do what you need.

Only to let you know, in the example the action tools are not inverted, it suppose to be this way

 

fmvizcaino_0-1579637720274.png

 

Let me know if that works for you.

Best,

Fernando Vizcaino

afv2688
16 - Nebula
16 - Nebula

Hello @mcha54 ,

 

Here you have an example,

 

Sin título.png

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Regards

mcha54
8 - Asteroid

Thank you everyone!! The radio button works perfectly.

Labels
Top Solution Authors