# Automatically clear conditional fields

**URL:** <https://community.feathery.io/t/automatically-clear-conditional-fields/1039>\
**Category:** Support\
**Created:** [September 9, 2024, 7:09am UTC](https://community.feathery.io/t/automatically-clear-conditional-fields/1039 "2024-09-09T07:09:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoJo](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@JoJo](https://community.feathery.io/u/JoJo)\
**Post date:** [September 9, 2024, 7:09am UTC](https://community.feathery.io/t/automatically-clear-conditional-fields/1039/1 "2024-09-09T07:09:52Z")

</div>

Hi,

I’m currently creating a questionnaire. The options for Field A are 1, 2, 3, and 4. When 1 or 2 is selected, Field B appears, but when 3 or 4 is selected, Field B does not. However, if I initially select 1 for Field A and fill in Field B, then later change Field A to 3, the content in Field B still remains. This causes an extra step during data analysis to filter out the values. Is there a way to set it so that when 3 or 4 is selected, Field B is automatically cleared?

Thanks!

---

<div class="post-metadata">

**Author:** ![reverson](https://avatars.discourse-cdn.com/v4/letter/r/b9e5f3/32.png) [@reverson](https://community.feathery.io/u/reverson)\
**Post date:** [September 9, 2024, 3:06pm UTC](https://community.feathery.io/t/automatically-clear-conditional-fields/1039/2 "2024-09-09T15:06:15Z")

</div>

Do you have this form setting turned off?  
 ![image](https://canada1.discourse-cdn.com/flex030/uploads/feathery/original/1X/ddd9b9f3096c3eccceae3b284bbe8ce858518dca.png)

You can also use custom logic to conditionally delete/clear out the field contents.

---

<div class="post-metadata">

**Author:** ![eri](https://avatars.discourse-cdn.com/v4/letter/e/8baadc/32.png) [@eri](https://community.feathery.io/u/eri)\
**Post date:** [September 9, 2024, 7:02pm UTC](https://community.feathery.io/t/automatically-clear-conditional-fields/1039/3 "2024-09-09T19:02:33Z")

</div>

Yes the setting here could help if you have your data analysis after form completion.

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/feathery/original/1X/1d97248e9535675e0ffae9456029b9f80d1e717f.png)

Conditionally hidden fields still carry their values in between steps though so you will be better off using logic to clear them if you have some data processing before form completion.
