setVisibility() not working for Subform Fields with Client Script
I am currently working on a Zoho CRM Client Script involving a subform and encountered a limitation that hinders my ability to fully control the visibility of specific fields within subform rows. The setVisibility()
method, which works perfectly fine for regular fields, does not seem to function when applied to subform fields. Is there a solution for this?
Use Case:
In my scenario, I have a subform with fields such as "New_Material" (Boolean) and "Quarry_Pit_Name" (Lookup). I need to hide the "Quarry_Pit_Name" field whenever "New_Material" is set to true
. However, it appears that Zoho CRM’s setVisibility()
does not support field-level visibility controls within subform rows. As a result, I’m unable to dynamically hide or show subform fields using client scripts, which is a common requirement for creating intuitive user experiences.
Moderation Update:
The setVisibility() method for the subform fields is yet to be opened for all the accounts. You can write to our support team (support[at]zohocrm[dot]com) requesting to enable it for your account. Thank you.
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.