When creating a new XForm and selecting the option to just submitt the XForm when the user is logged in, the form cannot be submitted but still appears on the website. I would like the form to appear always when this option is not selected, but when one just want the form to be submitted when the user is logged in, then I would like the form to be displayed only if the user is logged in. Any ideas how can I detect if this function is selected or not?
if (!Form.AllowAnonymousPost && !Page.User.Identity.IsAuthenticated)
this.Visible = false;
Thanks for the reply Andres. Already implemented it and worked perfect. Cheers