Change Field Editor Properties--Default Mode using javascript

  • 1
  • Question
  • Updated 2 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. 

Ex: 
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 2 years ago

  • 1
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
There's probably something in this post that will help:
https://community.skuid.com/skuid/topics/_edit_mode_button