Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 700829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T03:32:30+00:00 2026-05-14T03:32:30+00:00

How can I create a form that requires anonymous viewers to register in order

  • 0

How can I create a form that requires anonymous viewers to register in order to view it?

Right now, I’ve created a content-type (Submit Plan) which is a primary link available to everyone (anonymous + authenticated). I’ve restricted ‘view’ user permissions to anonymous users but they can still see the ‘Title’ input (I don’t want that).

I’d like it so that when an anonymous user clicks on ‘Adding a Plan’ primary link (the Submit Plan content-type), it goes to the page and says:

  • “You must register for an account” OR
  • Redirects them to the registration page asking them to register to submit a plan.

I’ve been searching for a module or maybe some code to use but have come up short on this topic. Any help would be appreciated. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T03:32:30+00:00Added an answer on May 14, 2026 at 3:32 am

    If you’re going to be redirecting users to the registration page, I’d strongly consider using something like logintoboggan to make the registration > node-creation process smooth. Otherwise, registration is a multi-step process and I’d imagine it being easy for users to lose their way back to the Add a Plan form in the process.

    For the “show links or show the form” direction, there are at least two ways of approaching that: 1) create a custom page where you “import” the add_plan form (or show the links). 2) modify the node/add/plan page itself, either through themeing or the fapi (the forms api).

    • Here’s a promising looking post for the first method: http://drupal.org/node/357895.

    • Here’s a place to start with FAPI http://api.drupal.org/api/drupal/developer–topics–forms_api.html/6

    • Here’s a post about theming the node form: http://11heavens.com/theming-the-node-form-in-Drupal-6

    Without having tried this, I’d probably lean toward method one.

    Update: just had another thought: you could also add the plan form to the registration form so they’d fill them out in one shot. I’m not sure of how to do that in general, but the node profile would work if they’re only ever going to make one plan, and if not, you can look at how that’s put together.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I succeeded to create a register form, and now users can register my site.
I try to create a form that can save a person's form data so
Is there a good way to create a form in VB6 that can easily
Question Synopsis Given a std::vector<T> , how can I create a view that exposes
In PHP you can create form elements with names like: category[1] category[2] or even
I can create an array of buttons in Windows Form but how can i
How can I create a helper like the Html.Form helper, which closes the tag
I would like to create a form where a user can enter an arbitrary
I have got a form which a user can use to create a new
I have a Form element: $Form=new Zend_Form; $Form->setAction($this->view->url(array('controller'=>'auth','action'=>'create'),null,true)) ->setMethod('post') ->setAttrib('id','auth-form') ->removeAttrib('enctype'); As can be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.