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 6953765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:31:15+00:00 2026-05-27T14:31:15+00:00

I have a user model that has many fields (let’s say 30 for this

  • 0

I have a user model that has many fields (let’s say 30 for this example). When the user signs up, I only fill in the first 10. Once they have logged in and they want to complete their info, they have two pages that allow them to complete the rest (one page handles 11-20 and the other handles 21-30).

So, when they hit the first page that handles 11-20, I want to make sure they fill in all of the fields (they shouldn’t just choose to answer 3 of them and leave the rest “Please choose”).

Same thing for the second page that handles 21-30.

What would be the best way to handle this? I’m using rails 3.1 with activerecord. If I do something simple like add the following to my model, I can’t create the user without filling in all of the fields (“validates :user_summary, :presence => true”).

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-27T14:31:15+00:00Added an answer on May 27, 2026 at 2:31 pm

    I think that you might implement a multistep form(aka wizard) to handle this type of issue.

    Ryan Bates did a great tutorial on the subject

    Multistep form tutorial

    There’s probably some gems out there for multistep form

    Another solution would be to implement partial validation.You can go to the link below.It’s a great blog post about the subject.

    Partial validation blog post

    Hope it will help to get started.

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

Sidebar

Related Questions

Say I have a model called User that has the following parameters: favorite_color, favorite_animal,
I have a model that holds user address. This model has to have first_name
Let's say I have a Model, for example User, and I want to merge
I have a model that has a ForeignKey to the built-in user model in
So I have a User model that :has_many other models like Documents, Videos, Posts
I have a user model that requires the user to change their password every
I have a user model on which I check to make sure that the
I have a data model that includes common columns like addedBy, editedby (user), addedDate,
In my CakePHP 1.2.5 app, I have a Profile model that belongsTo a User
Hi I have an user model and I also have some fields for their

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.