Can't get code pasted from zoho doc to work for creating a search page - improper statement

Can't get code pasted from zoho doc to work for creating a search page - improper statement

I paste in the code under "Create HTML page with Search parameter" from this page  https://www.zoho.com/creator/help/tutorials/advanced-app-building.html#create-app-using-subforms into my editor and I get "Error at line 5: improper statement" error.  I followed this whole page 'tutorial' and this was the only thing I couldn't get working (I'm in creator 5). I found a typo in other code earlier in the page to solve one set of code that wasn't working, so hopefully someone else can help resolve why this section of code also isn't working.

thanks... :(