Conditionally Render a Field as Read or Read-Only

edited October 15, 2019 in Questions

Maybe this has been mentioned before but couldn't find anything on the community, but is it possible to set a specific field's rendering as read or read-only based on the value of another field? Based on a status I'm looking to make a field Read-Only and then when it moves out of that status it should be read (with inline editing again).




  • edited October 15, 2019
    You can put the field on the Skuid layout twice and Mark one read only. Then you can put render conditions on each of the two duplicate fields so that only one of them shows at a time. The render conditions can be based on the value of another field.
  • edited February 10, 2017
    Thanks, Raymond for the help! I just realized I left out that I was curious about routes that used snippets and custom field renderers. This also works, and was just looking for other options and miss a crucial part of my question! Thanks, Jeff
  • Rob HatchRob Hatch 🛠️ 
    edited September 1, 2016
    Jeff.  At the field level you conditionally enable a field (more than just rendering). Make it "disabled" for some status values, and "enabled" for others.  I believe this will get what you are after.  
  • edited October 15, 2019
    This is better than mine.... You win this time...
  • edited February 10, 2017
    Thanks for the tip Rob! I hadn't used those options before!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!