Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Creating an optional input box

skong
6 - Meteoroid

Hi all,

 

I found a previous post about how to setup and create an optional input that was controlled by a checkbox.

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/App-Optional-File-Input/m-p/425020#M79...

 

However, I am having a hard time to replicate the process.

Everytime I try to run the Analytic App, the optional input field will always appear.

I wonder what did I do wrong?

 

Thanks,

Simon

 

 

skong_2-1603124764386.png

 

skong_3-1603124783695.png

 

 

3 REPLIES 3
mbarone
16 - Nebula
16 - Nebula

I'm not quite sure I understand what you want to accomplish, but I think what you want is that IF the checkbox is NOT checked, then the Calendar doesn't appear.  But if the checkbox IS checked, then they Calendar appears.


If that's the case, then you need to nest the Calendar inside the checkbox.  Go to the layout view of the Interface Designer, click on the Calendar, and move it up one level so it nests inside the checkbox.

 

Like this:
2020-10-19 16_31_10-Window.png

 

Click on the Calendar section (blue dotted line) and move it up with the arrow keys until it's nested inside the Checkbox question.

skong
6 - Meteoroid

Thank you mbarone!

That's exactly what I am looking for!

I was so dumb that I didn't thought about the interface designer.

mbarone
16 - Nebula
16 - Nebula

Great!  Not dumb at all!  It's not very intuitive - after a few dozen apps you'll be a pro!

Labels