atang
atang

Reputation: 82

Orchard CMS Custom Form

I am new to Orchard and still learning.

I created a custom form on Orchard CMS, but when I submit the form as a anonymous, it asks me to login, how do I prevent that as my form is a public form and does not need authentication.

I added a layer to the widget to be not authenticated, but that doesn't seem to work. I've even add a redirect to another page.

Upvotes: 1

Views: 902

Answers (2)

Richard Garside
Richard Garside

Reputation: 89140

To let non logged in people submit a form you need to:

  • In the dashboard go to Admin > Users > Roles
  • Click 'Anonymous'
  • Scroll down to 'Custom Forms' section
  • There will be a line called 'Submit {your content type} forms'
  • Tick the box next to this
  • Scroll down to the bottom and click Save.

Upvotes: 2

Antoine Griffard
Antoine Griffard

Reputation: 1059

Grant the custom form permission to the Anonymous role.

http://sebastienros.com/creating-a-contact-form-workflow

Upvotes: 1

Related Questions