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
                                            • Sticky Posts

                                            • Introducing Built-In Telephony in Zoho CRM

                                              Dear All, Greetings! We are excited to introduce the bespoke "Built-In Telephony" in Zoho CRM. Built-in telephony is designed to allow organizations to build their own telephony framework, manage subscriptions and payments, generate call reports, and
                                            • Enhancements in Canvas

                                              Dear All, Greetings! Canvas lets you design the record details page to suit your brand or business preferences. We are glad to introduce the following enhancements to uplift your design experience. Reusable Components Style Presets Let's go! Reusable
                                            • Stay in the Know: Important TRAI mandate on URL whitelisting for Indian CRM customers

                                              Dear Customers, We hope you're well! If you are a CRM customer in India and have the Notification SMS feature enabled, this post is relevant to you. Notification SMS lets you send messages to your customers as an acknowledging response to transactions.
                                            • Announcing the deprecation of a few capabilities within Feeds

                                              Dear Customers, We hope you're well! We are here with a recent update we made to the Feeds feature in Zoho CRM. We have deprecate the following capabilities from Feeds: View inactive/ dormant records View records followed by you Auto-follow records With
                                            • Effortlessly advance through your CRM blueprints by including optional fields in transitions

                                              Editions: Professional edition and above DCs: All Release plan: This enhancement is being released in a phased manner to customers. It will soon be available to all users. [Updated on 5 Sep 2024] This enhancement has been released to all users in all


                                            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