PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Disable submit if user not logged in

  1. I have form that I needs to be visible if the user is not logged in, but they should not be able to submit anything without being logged in. I've seen some older posts saying this is not available, but was wondering if this has been added or if there are any 3rd party add-ons that will accomplish this.

    Posted 11 years ago on Tuesday April 16, 2013 | Permalink
  2. I actually just figured out a work around for this...

    1. On the page where the final submit is done, I added a hidden field with the username merge field in it.
    2. On the final page of my form, I collect credit card information for them to purchase the item. I only display the credit card field if the hidden field is not blank
    3. On the same page, I added HTML that includes text saying they must be logged in in order to purchase. This is only visible if the hidden field is blank
    4. I also added a text field called loginrequired that is visible only if the hidden field is blank. I created a css class that hides this field so the user can never enter a value in it and I set this field to be required.
    Now, if the user is logged in, they can submit the form. If the user is logged in, they will always get an error when they try to submit.

    Posted 11 years ago on Tuesday April 16, 2013 | Permalink
  3. Nice work around, thanks for posting your solution.

    Posted 11 years ago on Tuesday April 16, 2013 | Permalink