Authenticated Zoho Users for a Form

Authenticated Zoho Users for a Form

I remember seeing some posts on this a while ago, but I cannot find them (this new forum has so much eye candy it's giving me a headache - sorry Zoho!)

I'd like to prevent non-authenticated users from submitting a form. Is this the best way?

if (zoho.loginuserid  ==  null)
{
    alert ("You need to sign-in to your Zoho Account to submit this form.");
    cancel submit;
}