Can i design my form in such a way that can hide certain details to particular user?or visible only to reviewer side and not visible for client user
Yes, it is possible to hide certain fields from a particular category of members. In the open-source project of formsflow.ai, they are giving 2 sample forms
FOI and New business Licence in that itself they are using this feature. In that, the reviewer section of the FOI form is available only at the reviewer side and I will attach the code for the same here
const UserDetails = JSON.parse(localStorage.getItem("UserDetails"))
const groups = UserDetails["groups"]
if(groups.includes("/formsflow/formsflow-reviewer") && data.applicationStatus==="New") {
show = true;
}
else {
show = false;
}
Also, you can design the form as per your requirements by giving conditions while designing the form