Error: Improper Statement
My Code:
htmlpage Frame(Display_Booking)
displayname = "EmbeddedView"
content
<%{%> <div elName='zc-component' formLinkName='Display'
params='zc_Header=false&zc_SuccMsg=Data Added Successfully!&zc_SubmitVal=Submit&zc_ResetVal=Reset&Display_Booking=<%=Display_Booking%>' >Loading Form...</div>
<div elName='zc-component' viewLinkName='Booking_Summary_Report' params='zc_Header=true&ID=<%=Display_Booking%>'></div>
<%
Userselectedid = input.Display_Booking.toLong();
if (Userselectedid == "")
{
openURL("https://app.zohocreator.com/anansrivastava/hotel-management/#Page:Frame?Display_Booking=3246746000000123009", "Same Window")
}
%>
Says improper statement on the underlined line. Display_Booking is a lookup from a single line field from another form. The error message does not tell what the error is. Kindly check out the code and help me with this issue.
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
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
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.