Error while validating field values..

Error while validating field values..

Hello Team,

I am seeking assistance with an issue in our Zoho CRM Quotes module. We have configured the following fields:

Quote Date: The date when the quote is created.
Quote Valid Through: A dropdown field with options like 30 days, 45 days, 60 days, 70 days, 90 days, etc.
Valid Until: A field that should display the calculated end date based on the "Quote Date" and the selected "Quote Valid Through" option.
Our client script calculates the "Valid Until" date based on the selection in "Quote Valid Through." However, we recently encountered an issue when the country's time zone settings were changed. This change also altered the date format, which caused our script to fail and display incorrect data (e.g., "NaNaNaN") in the "Valid Until" field.

To address this, I created a function to apply the current date format and integrated it into the client script. While this solution temporarily resolves the issue, we are concerned about the impact of future date format changes on the script’s functionality.

Could anyone please advise if there is a more robust solution or best practice to ensure that the script continues to work correctly despite changes in date formats or time zone settings? I would like to implement a solution that will maintain accuracy and functionality regardless of such changes.
I look forward to your guidance on how to resolve this issue effectively.

Thanks in Advance.
Thisai Moorthy.

      Zoho Developer Community









                                Zoho Desk Resources

                                • Desk Community Learning Series


                                • Digest


                                • Functions


                                • Meetups


                                • Kbase


                                • Resources


                                • Glossary


                                • Desk Marketplace


                                • MVP Corner


                                • Word of the Day



                                    Zoho Marketing Automation


                                            Manage your brands on social media



                                                  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 WorkDrive Resources



                                                                      Zoho Campaigns Resources


                                                                        Zoho CRM Resources

                                                                        • CRM Community Learning Series

                                                                          CRM Community Learning Series


                                                                        • Tips

                                                                          Tips

                                                                        • Functions

                                                                          Functions

                                                                        • Meetups

                                                                          Meetups

                                                                        • Kbase

                                                                          Kbase

                                                                        • Resources

                                                                          Resources

                                                                        • Digest

                                                                          Digest

                                                                        • CRM Marketplace

                                                                          CRM Marketplace

                                                                        • MVP Corner

                                                                          MVP Corner





                                                                            Design. Discuss. Deliver.

                                                                            Create visually engaging stories with Zoho Show.

                                                                            Get Started Now