# Filter form field based on dropdown field in the same form or page

**URL:** <https://community.triggre.com/t/filter-form-field-based-on-dropdown-field-in-the-same-form-or-page/650>\
**Category:** Support\
**Created:** [February 26, 2024, 3:07pm UTC](https://community.triggre.com/t/filter-form-field-based-on-dropdown-field-in-the-same-form-or-page/650 "2024-02-26T15:07:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![niels.deboer](https://avatars.discourse-cdn.com/v4/letter/n/57b2e6/32.png) [@niels.deboer](https://community.triggre.com/u/niels.deboer)\
**Post date:** [February 26, 2024, 3:07pm UTC](https://community.triggre.com/t/filter-form-field-based-on-dropdown-field-in-the-same-form-or-page/650/1 "2024-02-26T15:07:57Z")

</div>

Hi all!

I am trying to filter options in a pick list ( this does not have to be a pick-list ) based on a value from the above pick-list field.  
one of the materials should make a selection of type boor / zaag machine

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/triggre/original/1X/d692d73ddd5854be84cc5240e73e06c4b224185b.png)  
for example, when beton is selected → only the beton met diamant droogboor systeem is available  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/triggre/original/1X/da86ddaa2d40ed2323d92aff5ec395c15199aaa9.png)

Couple of questions:

- Is it possible to show or hide form fields based on a certain value in the form.
- is it possible to filter records and or pick list based on a certain value in the form?
- is it possible to filter fields or part of pages based on a certain value on the page that is not in the form ( make 3 forms in separate column and show 2nd or 3rd based on selection in first form )

Hope you have a suggestion!! 🙏

Thanks Niels

---

<div class="post-metadata">

**Author:** ![Jochem](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.triggre.com/jochem/32/91_2.png) [@Jochem](https://community.triggre.com/u/Jochem)\
**Post date:** [February 26, 2024, 3:27pm UTC](https://community.triggre.com/t/filter-form-field-based-on-dropdown-field-in-the-same-form-or-page/650/2 "2024-02-26T15:27:18Z")

</div>

Hi Niels,

Thanks for your questions:

- Yes, you can build different pages based upon the value in a form.
- yes, you can create a data item which filters on the material that you select. So you can create a filter from another form field on the same page.
- yes based upon the dataitems and their references you can create 2nd and 3rd selections.

Does this help?

Jochem

---

<div class="post-metadata">

**Author:** ![niels.deboer](https://avatars.discourse-cdn.com/v4/letter/n/57b2e6/32.png) [@niels.deboer](https://community.triggre.com/u/niels.deboer)\
**Post date:** [February 26, 2024, 3:46pm UTC](https://community.triggre.com/t/filter-form-field-based-on-dropdown-field-in-the-same-form-or-page/650/3 "2024-02-26T15:46:18Z")

</div>

Thanks Jochem!

I should have asked ofcourse also if you have an example or documentation that i have not found yet. 🙂 .  
I just found this masterclass [24. Parent-child forms - Documentation / Weekend masterclass - Triggre Community](https://community.triggre.com/t/24-parent-child-forms/571) and think it will help me a lot.

It would also be great to see the data model setup of the masterclass. Where can I find this?

Last question:  
Can I also hide a form field based on selection of the parent field? Sometimes additional fields are needed and sometimes not.

If this is possible, how can i build this?

Thanks!

---

<div class="post-metadata">

**Author:** ![Jesse](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.triggre.com/jesse/32/88_2.png) [@Jesse](https://community.triggre.com/u/Jesse)\
**Post date:** [February 27, 2024, 10:48am UTC](https://community.triggre.com/t/filter-form-field-based-on-dropdown-field-in-the-same-form-or-page/650/4 "2024-02-27T10:48:20Z")

</div>

Hi @niels.deboer,

Hiding form fields is not yet supported by Triggre. The best alternative is to make a validation rule on those fields.

So the field is optional, but when another field or fields is/are filled in, then it would check that the optional field is also filled in.

Optional visibility is on our backlog.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/triggre/original/1X/367281c6ef0a1cef3dd636979e56e8a6918e707f.png) [@system](https://community.triggre.com/u/system)\
**Post date:** [March 1, 2024, 2:49pm UTC](https://community.triggre.com/t/filter-form-field-based-on-dropdown-field-in-the-same-form-or-page/650/5 "2024-03-01T14:49:10Z")

</div>

Closed on March 1, 2024, 2:49pm UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
