Timeline for How do I make a field read only using code in APEX and LWC?
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 11, 2020 at 5:23 | answer | added | Matthew Souther | timeline score: 0 | |
Jul 10, 2020 at 23:32 | comment | added | David Reed | Why not write a Validation Rule? | |
Jul 10, 2020 at 23:29 | answer | added | SFAdmin | timeline score: 1 | |
Jul 10, 2020 at 23:11 | comment | added | Jason Chau | Sorry I got a little confused with the instructions. I want to lock a field based on some conditions and I was wondering on how to do that. | |
Jul 10, 2020 at 22:57 | comment | added | Arthlete | @JasonChau Why are you mentioning LWC if you are trying to lock the field for a specific page layout? | |
Jul 10, 2020 at 20:33 | comment | added | Jason Chau | I want it to be read only for a specific page layout | |
Jul 10, 2020 at 8:16 | comment | added | Alba Rivas | It is not clear what you mean with read-only, as Arthlete says. Read-only for a user interface build with visualforce, for a user interface build with LWC, a page layout, or what exactly? | |
Jul 10, 2020 at 3:24 | comment | added | Jason Chau | So, I want to make the Description field to be read only for account's where the class is Vard | |
Jul 10, 2020 at 1:59 | comment | added | Arthlete | Do you want to display the field's value in a lightning web component? What are you trying to achieve? Or do you mean you want the field value to be read only on a page layout regardless? | |
Jul 10, 2020 at 0:25 | review | First posts | |||
Jul 10, 2020 at 7:42 | |||||
Jul 10, 2020 at 0:24 | history | asked | Jason Chau | CC BY-SA 4.0 |