How to create a form for which anonymous viewers must register to view?
Currently, I have created a content type (Submit Plan), which is the main one available to everyone (anonymous + authenticated). I restricted the user’s viewing rights to “anonymous users,” but they can still see the “Title” input (I don’t want this).
I would like that when an anonymous user clicks on the “Add a plan” link (the content type is “Send a plan”), he goes to the page and says:
- "You must register for an account" OR
- Redirects them to the registration page with a request to register to send the plan.
I was looking for a module or maybe some kind of code to use, but not much in this matter. Any help would be greatly appreciated. Thank!
source
share