New errors, reported on incorrect lines

New errors, reported on incorrect lines

I attempted to edit a script yesterday in an application that is working and has been working for some time, when I got a syntax error, reportedly on the 2nd line of the script (a well-formed IF statement). Since I had not edited that line, and there was nothing wrong with it, I was left unable to save my changes. I was unable to save even the unedited script.

After poking around in the forums I was able to piece together a solution. 

1.) Previously it was OK to use an expression such as 

input.rowA = ;

Whereas now, it appears that you are required to assign a value, e.g. 

input.rowA = null;

Ultimately this was the change that allowed me to save my script without errors.

2.) Zoho is flagging errors on incorrect lines. The above error (once I figured out it was an error) was nested within my IF statement, many lines below the row cited as the problem. 


These two issues combined meant that my previously well-formed script could no longer be saved, and I spent some hours digging around to figure out why.

Hopefully this helps someone else with the same problem. 

On a more general note, I found many threads where Zoho support staff helped a user privately & did not come back to explain, even generally, how to resolve the issue. That means the majority of the threads in this forum are 1) unresolved or 2) resolved but without follow-up. It would be helpful if users and/or Zoho staff returned to the thread upon resolution of the problem to offer guidance to other users with similar problems. I appreciate that Zoho staff are quick to respond to support requests, but I'd rather not have to submit one in the first place. 

      Zoho SalesIQ Resources



            Zoho TeamInbox Resources

              Zoho DataPrep Resources


                  Zoho CRM Plus Resources

                    Zoho Books Resources


                      Zoho Subscriptions Resources

                        Zoho Desk Resources

                          Zoho Projects Resources


                            Zoho Sprints Resources


                              Qntrl Resources


                                Zoho Creator Resources


                                  Zoho WorkDrive Resources




                                      Zoho Campaigns Resources

                                        Zoho CRM Resources

                                                    Design. Discuss. Deliver.

                                                    Create visually engaging stories with Zoho Show.

                                                    Get Started Now


                                                      Zoho Show Resources


                                                        Zoho Writer Writer

                                                        Get Started. Write Away!

                                                        Writer is a powerful online word processor, designed for collaborative work.

                                                                  有料プランをご利用の方