# Prompt input for user based on user input

**URL:** <https://forum.dynamobim.com/t/prompt-input-for-user-based-on-user-input/52766>\
**Category:** Developers\
**Tags:** civil3d\
**Created:** [July 8, 2020, 3:06pm UTC](https://forum.dynamobim.com/t/prompt-input-for-user-based-on-user-input/52766 "2020-07-08T15:06:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![i51vignesh](https://avatars.discourse-cdn.com/v4/letter/i/ba9def/32.png) [@i51vignesh](https://forum.dynamobim.com/u/i51vignesh)\
**Post date:** [July 8, 2020, 3:06pm UTC](https://forum.dynamobim.com/t/prompt-input-for-user-based-on-user-input/52766/1 "2020-07-08T15:06:36Z")

</div>

Hi, I was wondering is there a way to ask user to input based on his previous input value (in Civil 3d Dynamo Player)  
For instance,  
let’s say the dynamo player UI asks for “Enter the number of pavement layer”. If the user inputs “3” then my next prompt shall be “Enter the width and depth of **first** layer”,“Enter the width and depth of **second** layer” and “Enter the width and depth of **third** layer”

Is there a way to do this using IronPython?

---

<div class="post-metadata">

**Author:** ![TheMattatonAP](https://avatars.discourse-cdn.com/v4/letter/t/c2a13f/32.png) [@TheMattatonAP](https://forum.dynamobim.com/u/TheMattatonAP)\
**Post date:** [July 8, 2020, 6:53pm UTC](https://forum.dynamobim.com/t/prompt-input-for-user-based-on-user-input/52766/2 "2020-07-08T18:53:41Z")

</div>

You might want to check out Data-shapes UI. I switched to that (instead of Dynamo Player) when I wanted to do more sequential flows like this.
