Suggestion for ZOHO Creator ...

Suggestion for ZOHO Creator ...

Hi:

Recently i developed an Application that required quite a few HTML Views ... working with Free Flow Script ... because Real developers don't use Script Builders  ... I found it that the code parser was not very good at identifying where exactly I missed a matching closing "closing wrapper text" (often identified row 1 as the offending line) ... requiring me to develop in tiny steps ... just so I could zoom in on any such errors.

While this method of composing the HTML stream ... similar to that in PHP v1 and v2 ... works for small/simple HTML streams, I think that a command (like print/echo in later versions of PHP) would help to build larger/complex HTML streams ... so something like ...
htmlpage something()
displayname = "Something"
content
<%{%>

    <%CountUsers = count(Users[UserID == zoho.loginuser]);
    if (CountUsers  >  0)
    {
        thisUser  =  Users  [UserID == zoho.loginuser];
        Current_Expert_Info = thisUser.Current_Expert_Info;%>

        <p class="zc-viewtitle"><%=Current_Expert_Info%></p>

    <%}
    else
    {
        openUrl("#Form:ErrorPage", "same window");
    }%>

<%}%>



















... could be better coded (and debugged) as something like ...
htmlpage something()
displayname = "Something"

CountUsers = count(Users[UserID == zoho.loginuser]);
if (CountUsers  >  0)
{
    thisUser  =  Users  [UserID == zoho.loginuser];
    Current_Expert_Info = thisUser.Current_Expert_Info;

    sendHTML "<p class='zc-viewtitle'>" + Current_Expert_Info + "</p>"

}
else
{
    openUrl("#Form:ErrorPage", "same window");
}















Please consider supporting a command like sendHTML in your next release.



Gaev