Validating model without saving

Hi all,

I would like to validate my model without actually saving it to the
database.

Actualy I need it as follows:

User enters user details in a post form.
When the user submits the form I would like the form to be validated.
However, when validation passes, I don’t want to save the model yet, but
I
would like to store it in Session context.

Is this possible at all? And if so, how can I achieve my goal?

Regards,

Harm de Laat

On 1/3/06, Harm de Laat [email protected] wrote:

However, when validation passes, I don’t want to save the model yet, but I
would like to store it in Session context.

Is this possible at all? And if so, how can I achieve my goal?

I guess that you can do it with model.valid?

Regards,