手机App
描述
info 关键词在‘验证时’、‘成功时’和‘更新时’动作中用于显示调试消息,以便帮助应用所有者调试应用程序。Info 消息仅可由应用程序的所有者查看,可通过点击查看日志详情链接来查看,当数据保存在数据库之后会显示该链接。因此,如果您的表单由非所有者填写,则他们将不能查看此消息。
注:
语法
info <message>;
示例
示例 1 在下面的示例中,info 消息在调用 sendmail 函数之后显示。 on validate { sendmail ( From : zoho.adminuserid To : "test@zoho.com" Subject : "Report for Product Status: " + input.Product_Status_is Message : "Product: " + productno ) } info "Report has been sent."; } } 示例 2 在下面的示例中,info 消息仅在表单数据没有取消时才显示。 on validate { if (count(sign_up[(Username == input.Username && Password == input.Password)]) == 0) { alert "the username/password does not exist"; cancel submit; } info input.Username + " " + input.Password; }
示例 1
在下面的示例中,info 消息在调用 sendmail 函数之后显示。
on validate { sendmail ( From : zoho.adminuserid To : "test@zoho.com" Subject : "Report for Product Status: " + input.Product_Status_is Message : "Product: " + productno ) } info "Report has been sent."; } }
示例 2
在下面的示例中,info 消息仅在表单数据没有取消时才显示。
on validate { if (count(sign_up[(Username == input.Username && Password == input.Password)]) == 0) { alert "the username/password does not exist"; cancel submit; } info input.Username + " " + input.Password; }
写信给我们:support@zohocorp.com.cn