Forum: Ruby on Rails Rails db model validation with separate web forms, help.

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Donnie Jones (Guest)
on 2006-01-03 00:00
(Received via mailing list)

I have a DB model that has many columns and I would like to separate the
input from the user into web forms on many pages to not overburden the
user with entering a lot of info on one page.

However, I can't figure out how to handle the validation of the user's
input...  I would like to validate each piece of data on each form page
before the user is allowed to move on to the next form page.
Is it possible to only validate part of a DB model?

Currently, I plan to save the user's input in a session until all
of the data iss available to save to the database, which would allow me
validate the user's input upon saving to the database, but would not
easily allow me to direct the user back to the form page where an error

Any suggestions would be great, even if it requires some re-design.
Thank you.
Donnie Jones (Guest)
on 2006-01-03 00:09
(Received via mailing list)

So far this is the only documentation for multi-page forms and
that I have been able to find:

Josh | Vectrice (Guest)
on 2006-01-03 09:59
(Received via mailing list)
I think that this plugin can help you.

Look at svn repository

----- Original Message -----
From: "Donnie Jones" <removed_email_address@domain.invalid>
To: <removed_email_address@domain.invalid>
Sent: Monday, January 02, 2006 10:59 PM
Subject: [Rails] Rails db model validation with separate web forms,
This topic is locked and can not be replied to.