Conditionallly render a field by comparing its value to another field?

I can’t figure this one out.

How can I create a rendering condition on Field1__c that checks the value of Field1__c against the value of Field2__c and renders (or doesn’t) based on the result?

(easy peasy if conditional rendering snippets had context)

Wouldn’t a snippet for this work great? If only context was available. miright?

Could you do a Ui only field that compares the value of the two fields then base the rendering of Field1__c on the value of the UI only field?

Yup! Good call.

Raymond,

That’s what I ended up doing… only I had to do it ~30 times for 30 different fields.

Thank God for Sublime Text 3!

Glad you had a solution. I’m going to check out Sublime.