The Customer Portal is a great addition to Zoho Creator. However I'm having difficulty getting the flexibility I need.
Here is what I'm doing:
- When someone signs in they go to a stateless form. In the On Load section I check if the the login email address is in a membership database. If not then a registration page is opened using the openurl statement .When the form is opened the zoho.loginuserid is null so I can no longer detect who is logged in.
This is the statement I use to open the registration screen. The zoho.loginuserid is valid at this point.
openUrl("https://creator.zoho.com/herbwex/portal-test/form-perma/Registration_Screen/Email=" + zoho.loginuserid, "Same window");