Disabled field in UI for Update

I have…

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [ ] Bug report
  • [ ] Performance issue
  • [x] Documentation issue or request

Current behavior

Expected behavior

Minimal reproduction of the problem


  • [x] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [ ] Cloud version

Version: [VERSION]


  • [x] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

Hi Sebastain
I am trying to disable id field if record is in update mode.
I read one of you previous comments and it said…

The context that is available in custom fields is also available in field rules now. So yoiu can just use ctx.initialContent to check for Create vs Update

So in Field rules, I have set
Disable id when ctx.initialContent === “Update”

but seems when I am in edit mode (In progress workflow status), it allows me to updat id.
Is it something I am doing wrong ?



You just need to check whether the initialContent exists,

so ctx.initialContent should be enough.

you mean this ? didn’t work.


Which version do you use? It is not part of any official build yet, but you can use a dev flag.

version is
so its not in this I guess.

You can use dev-5740

1 Like