@RAHULK0923 I was thinking about this overnight. It is expected that read only fields can’t be updated via form refresh settings, yes. I do outline this in Form refresh settings: The artist formally known as “on change, run data transform..”
However, two additional solutions I can add to the mix:
- Calculations - these are read-only but the declare expression is what updates the values on screen, you could use that to show these fields.
- This is my preferred solution (including the ones I previously gave in this thread)
- Editable state - read-only when has value: I haven’t tested this, but from what I know of the DX API and Constellation this should work but worth testing:
- Configure the field as editable
- Use form refresh to set value
- Conditionally read only:
- Mark as disabled when it has a value (when rule, so it triggers a server side interaction and gets the value from the server) OR
- conditionally show editable/read only versions based on the value