-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement read-only setting for fields #23
Comments
Hi @petri Maybe you can do this simply with JavaScript? An additional JavaScript that put in readonly fields? |
I guess so, for columns somehow marked as readonly, perhaps add a marker string such as |
Instead of |
Could there be some other uses & therefore values for "visibility" than "readonly"? |
Hm indeed visibility could of course also be "hidden".. |
In Archetypes style you can have hidden and invisibile. Hidden is rendered as an INPUT of type HIDDEN, invisible is not show at all. |
I have a case whereby data for some fields (columns) should be set programmatically and only some is editable by end user.
I wonder if the ComputedField could be (ab-)used for this? So that one could programmatically set the value and the TALES expression would render it, making it in effect read-only? Ie. the TALES expression would render its own column value... would that work?
The text was updated successfully, but these errors were encountered: