2

Checkbox field.
I want to display checkbox ONLY in edit mode, using standard page layout.
Is there any way to achieve this without coding Visualforce page?

Andrii Muzychuk
  • 2,412
  • 5
  • 36
  • 50
  • 1
    you want this in page layout? – Ratan Paul Nov 23 '15 at 17:11
  • @Ratan, yes. In standard page layout. – Andrii Muzychuk Nov 23 '15 at 17:13
  • what i believe this is not possible. you may need visualforce page – Ratan Paul Nov 23 '15 at 17:16
  • @Ratan, this is my thought too. But I'm hoping someone have found simpler solution, then creating a whole VF page just for two fields, which should be hidden in specific mode. – Andrii Muzychuk Nov 23 '15 at 17:26
  • Formula fields do not show up on the edit page, so the image part should be doable. As far as having edit only checkboxes you need to go for VF approach – Rao Nov 23 '15 at 17:30
  • @Rao, I understand VF possibility. And this is what I want to avoid - code VF page just for one checkbox field. – Andrii Muzychuk Nov 23 '15 at 17:32
  • The only option that you have is an inline edit vf page with just the edit only field. Render the field based on some custom setting/ profile setting – Rao Nov 23 '15 at 17:34
  • 1
    You could use a simple VF page with apex:detail and some simple jQuery to set the checkbox fields' CSS property to display:none. Requires a bit of Firebug or the like work to hack into the generated HTML and of course, the solution isn't supported by SFDC so it has fragility issues. But I've done things like this before. – cropredy Nov 23 '15 at 18:00
  • did u find any solution for this? i have the similar problem – Sandeep Chilakala Aug 13 '21 at 02:48

0 Answers0