Jump to content

Anonymous and Login Access

Recommended Posts

Is it possible to have a login form but also have anonymous access to some forms?

ie. Based on a URL parameter,  I'd like to avoid showing the login and mainform and show a different form that doesn't require a login.  

I tried calling ShowModal() from the OnBeforeLogin event to show an 'anonymous' form if I get a particular parameter in the URL but it says Blocking method ShowModal() cannot be called here.  I also want to avoid access to the main form.

If the special param is not found, normal login and main form access would apply.  Is there a way to do this in a single app?  Or would I need to make a totally separate app that has no login form to cater for times where login is not required?

Link to post
Share on other sites
  • 2 weeks later...

Thanks everyone!

I'll have to try the one that kkelchev referenced.  In the meantime I had a workaround where I used the before login event and instead of creating and showing a different form, I used the main form and modified it to show only one tab with specific data, instead of the normal tabs it would normally show.  Not ideal but it worked. 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...