# Adding Line Items in Deal with Conditional Logic

**URL:** <https://community.hubspot.com/t/adding-line-items-in-deal-with-conditional-logic/67955>\
**Category:** HubSpot Ideas\
**Tags:** object\
**Created:** [October 26, 2022, 5:50pm UTC](https://community.hubspot.com/t/adding-line-items-in-deal-with-conditional-logic/67955 "2022-10-26T17:50:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MWard7](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mward7/32/30191_2.png) [@MWard7](https://community.hubspot.com/u/MWard7)\
**Post date:** [October 26, 2022, 5:50pm UTC](https://community.hubspot.com/t/adding-line-items-in-deal-with-conditional-logic/67955/1 "2022-10-26T17:50:24Z")

</div>

We want the ability to apply conditional logic to prevent (or specify) line items from being selected based on company criteria. For example, if we have identified the company as Government (in a field) only the line items relating to Government should be a choice when creating the deal.

---

<div class="post-metadata">

**Author:** ![CassandraOng](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@CassandraOng](https://community.hubspot.com/u/CassandraOng)\
**Post date:** [November 13, 2023, 9:47pm UTC](https://community.hubspot.com/t/adding-line-items-in-deal-with-conditional-logic/67955/2 "2023-11-13T21:47:24Z")

</div>

Great idea. I want to create a conditional field so that when a deal hits a certain stage, then we have to fill in more info like resources required, etc. This feature will make deal info so much more useful for analysis.

---

<div class="post-metadata">

**Author:** ![DouglasW](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/douglasw/32/99730_2.png) [@DouglasW](https://community.hubspot.com/u/DouglasW)\
**Post date:** [March 6, 2024, 4:36pm UTC](https://community.hubspot.com/t/adding-line-items-in-deal-with-conditional-logic/67955/3 "2024-03-06T16:36:20Z")

</div>

This would be useful for me as well, specifically, making it required or not-required based on the Pipeline selected.
