Hide/Show and Custom function in Creator
Hello,
I tried to do a function where I want to hide/show some fields of the form. Like the following code
- void dossier.showFinanceursFieldsAccordingToPlanFinancement (Dossier dossier) {
- hide dossier.Orient_par_Entreprise;
- }
However creator triggers here an error telling me "
'hide' can be used only in on load actions
"
Do anybody knows a workaround to that situation? Like creating function that only works on load actions for example?
The goal is to avoid code repetition, as currently, I need to copy and paste the same code in both on add > on load + on edit > on load event, which is not very DRY and sustainable.
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.