Back to zzTakeoff Community Channel LogoQ & A

Cleaner version to pull error if two check boxes are checked

Hello I am working on formwork for double and triple use, and I want it to either pull 0 or error, but I was wondering if there is a cleaner version than the one my good buddy Claudio came up with


([../.././Formwork Assembly/Double Use] && [../.././Formwork Assembly/Triple Use] ? 0 : [../.././Formwork Assembly/Double Use] ? 2 : [../.././Formwork Assembly/Triple Use] ? 3 : 1)

0

I have not tested this, but maybe this could be an alternative?


if([../.././Formwork Assembly/Double Use], if([../.././Formwork Assembly/Triple Use], 0, 2), if([../.././Formwork Assembly/Triple Use], 3, 1))

would it be easier to use dropdown with value and name, that way only one formwork could be used?

I am sorry guys I have been building away, but I like Todds idea. I will need to explore this. Is there a way i can save this post?

Hey Fernando, the easiest way for now to save this post is to bookmark it or save the URL.

You must be logged in to post replies. If you don't have an account you can signup here.