# Conditional Input Field

**URL:** <https://forum.bubble.io/t/conditional-input-field/105362>\
**Category:** Need help\
**Created:** [August 8, 2020, 2:19pm UTC](https://forum.bubble.io/t/conditional-input-field/105362 "2020-08-08T14:19:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![adityacc06](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@adityacc06](https://forum.bubble.io/u/adityacc06)\
**Post date:** [August 8, 2020, 2:19pm UTC](https://forum.bubble.io/t/conditional-input-field/105362/1 "2020-08-08T14:19:51Z")

</div>

Hello Experts,

I am a Newbie, so I really need help for simple issue which I am not able to resolve.

The attached image shows what I want to have. Also how I am trying to do this.

I have a Radio Button having Options to Choose 1) Suburbs & 2) City

In the Zonal FSI Input Form, I want to filled the Number automatically when a user selects Suburbs or City.

I.e. If User Selects " Suburbs" \> Zonal FSI Value will be 1.0  
AND  
If User Selects " City" \> Zonal FSI Value will be 1.33

I tried adding Conditions in the Zonal FSI input form but Somehow it is not showing.

Please Help.!!

[CONDITIONAL INPUT - 1|690x482](https://forum.bubble.io/uploads/short-url/dVwwM9Q8t4v0FJAdydfxChmL0jH.jpeg)

---

<div class="post-metadata">

**Author:** ![SerPounce](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/serpounce/32/62068_2.png) [@SerPounce](https://forum.bubble.io/u/SerPounce)\
**Post date:** [August 8, 2020, 4:36pm UTC](https://forum.bubble.io/t/conditional-input-field/105362/2 "2020-08-08T16:36:31Z")

</div>

Your logic and approach is correct. Based on what you’re showing the initial content conditional should work.

Could it be something to do with the radio button logic?

Maybe share your editor here in read only mode so we can diagnose accurately.

---

<div class="post-metadata">

**Author:** ![adityacc06](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@adityacc06](https://forum.bubble.io/u/adityacc06)\
**Post date:** [August 9, 2020, 10:19am UTC](https://forum.bubble.io/t/conditional-input-field/105362/3 "2020-08-09T10:19:51Z")

</div>

@SerPounce, Thanks for the reply. It is Working now. !!

But One more problem has come up.

I have following Inputs in Number ( Decimal)

Input - A = Plot Area  
Input - B = Zonal FSI  
Input - C = Premium FSI  
Input - D = TDR  
Input E = Total FSI = ( Zonal FSI + Premium FSI + TDR)… I have added simple Addition Formula.

Input F = Total BUA = ( Plot Area(_Input - A_) x Total FSI ( _Input E_))

But Now this simple Calculation is not working. !!

please help !..

[INPUT CALULATION - 2|690x371](https://forum.bubble.io/uploads/short-url/iXcZedexN0c3VqS7QPS9uhnEHxB.jpeg)

---

<div class="post-metadata">

**Author:** ![SerPounce](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/serpounce/32/62068_2.png) [@SerPounce](https://forum.bubble.io/u/SerPounce)\
**Post date:** [August 9, 2020, 10:23am UTC](https://forum.bubble.io/t/conditional-input-field/105362/4 "2020-08-09T10:23:26Z")

</div>

Why is Total BUA an input field? Surely that is not editable by the user and should therefore just be a text element showing the result of the calculation?

---

<div class="post-metadata">

**Author:** ![adityacc06](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@adityacc06](https://forum.bubble.io/u/adityacc06)\
**Post date:** [August 9, 2020, 4:52pm UTC](https://forum.bubble.io/t/conditional-input-field/105362/5 "2020-08-09T16:52:34Z")

</div>

> [@SerPounce](#):
>
> that is not editable by the user and should therefore just be a text element showing the result of the calculation?

Yes, your are right. But Only thing is that I need to use this number for further calculation that’s why I have defined it as a Number.

But neither of these attempt is working.

Is it because, I am using cell value which is already having a formula in it ?

---

<div class="post-metadata">

**Author:** ![SerPounce](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/serpounce/32/62068_2.png) [@SerPounce](https://forum.bubble.io/u/SerPounce)\
**Post date:** [August 9, 2020, 5:26pm UTC](https://forum.bubble.io/t/conditional-input-field/105362/6 "2020-08-09T17:26:34Z")

</div>

Use a custom state or expression to hold the result.

---

<div class="post-metadata">

**Author:** ![robert](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/robert/32/149181_2.png) [@robert](https://forum.bubble.io/u/robert)\
**Post date:** [August 9, 2020, 11:11pm UTC](https://forum.bubble.io/t/conditional-input-field/105362/7 "2020-08-09T23:11:28Z")

</div>

> [@adityacc06](#):
>
> Is it because, I am using cell value which is already having a formula in it ?

No, that should not affect it.

---

<div class="post-metadata">

**Author:** ![adityacc06](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@adityacc06](https://forum.bubble.io/u/adityacc06)\
**Post date:** [August 12, 2020, 3:14pm UTC](https://forum.bubble.io/t/conditional-input-field/105362/8 "2020-08-12T15:14:56Z")

</div>

Thank You so much @SerPounce, It is working Now. I have added Expression.  
Thank u once again.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [October 17, 2020, 2:19pm UTC](https://forum.bubble.io/t/conditional-input-field/105362/9 "2020-10-17T14:19:53Z")

</div>

Closed on October 17, 2020, 2:19pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
