Change Field Editor Properties--Default Mode using javascript

  • 1
  • Question
  • Updated 3 years ago
  • Answered
  • (Edited)
I am trying to change the "Default Mode" from "Read with Inline-Edit" on the field Editor Properties to Read-only, but using javascript to control this. 

The idea is to set this mode based on record type. 

If (recordtype=a)
{Set the Field Editor - Default Mode to Read-only}
else {Set the Field Editor - Default Mode to Read with Inline-Edit}

Any example on how to accomplish this will be greatly appreciated. 
Photo of Paulo Correia

Paulo Correia

  • 264 Points 250 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Matt Sones

Matt Sones, Champion

  • 32,106 Points 20k badge 2x thumb
There's probably something in this post that will help: