Hi, i wanted to know if there is any way to make a whole input form read-only, without manually updating each input's attributes one by one?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @HariharanB ,
You can add readOnlyExpr="true" in initial <form> tag. (Disconnect & reconnect)
Example,
<form _cs="Customer (abc)" created="2023-03-07 10:53:24.776Z"
readOnlyExpr="true" .... lastModified="2023-03-07 10:53:24.776Z"
name="customer" namespace="name" xtkschema="xtk:form">
Incase if it not reflected in input form after disconnect-reconnect, clear local cache, disconnect-reconnect again.
Hi @HariharanB ,
You can add readOnlyExpr="true" in initial <form> tag. (Disconnect & reconnect)
Example,
<form _cs="Customer (abc)" created="2023-03-07 10:53:24.776Z"
readOnlyExpr="true" .... lastModified="2023-03-07 10:53:24.776Z"
name="customer" namespace="name" xtkschema="xtk:form">
Incase if it not reflected in input form after disconnect-reconnect, clear local cache, disconnect-reconnect again.
Works perfectly. Thank you
Is there any way I can set the form read only, based on value of a field? Say, if my drop down field of the form is A, then make the entire form read only.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies