AnsweredAssumed Answered

Disable "Convert" option in Lead Record View if Address blocks are incomplete (7.5.x)

Question asked by Arthur Chocholacek on Jun 29, 2015
Latest reply on Aug 24, 2015 by Adrian Dinu
As the title says, I'm looking to Disable/Remove the "Convert" button when viewing a lead record if the primary/alternate address blocks are incomplete (any of street, city, state or postal code are blank).

I figured out how to get it done in the old views, but I'd like to do it in Sidecar for 7.5/7.6

I feel like I'm *almost* there with editing Leads/clients/base/views/record/record.js, but I can't quite seem to verify the values of the fields. This link suggests using this.model.get('<field>');, but that's returning undefined.

This is one of those things that I've beat my head against the wall on, and someone is going to say "oh yeah, that's easy, do this" and I will scream "OF COURSE!!!!!!!!!" and then throw myself out a window.

But please, I welcome the chance to fly!