Error while following tutorial

Error while following tutorial

Hi,

I'm following this tutorial  https://www.zoho.com/creator/help/tutorials/advanced-app-building.html

When I do this and enter the script mentioned in the tutorial:

  • Click on Workflow tab on the left to go to the script builder.
  • Select Field Actions - Products - Product - On User input and add the following code in the editor box
I get the following error:

Error at line number : 2 
Variable 'row' is not defined

Any ideas in what I'm doing wrong?

Kind regards,

Johan Boerema