Show/Hide Form Fields based on info from another object

I want to be able to show/hide fields based on info on another object.

For example,

I have an order form that is connected to a project.

On the order form, I want to hide a field that offers an 'add-on' if that product already includes the add-on.

Thanks

Jason