old.getFieldValue(EachField) doesn't work?
Hi Zoho,
Each time I reload my script On Validate page, old.getFieldValue(EachField) is changed to getFieldValue(EachField) (showing the current data instead of the data prior to change).
Why is this happening? I need to compare the data in each field before and after the edit:
FieldsList=getFieldNames();
ChangedFiles=List();
for each EachField in FieldsList
{
if(getFieldValue(EachField) != old.getFieldValue(EachField))
{
ChangedFiles.add(EachField);
}
}
Thanks
Ravid
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.