Hello guys,

I'm often using forms without anything to do persistence and RDBMS related, but I would like to be able to use Fields (StringField, EmailField, my owns, etc), validation, error management, etc. without having everything to manage by hand.

Actually, I would like to be able to use fields without backend but with all the "domain <-> client" part. Is it possible ?

I thought that wizards may have been the answer, but it seems that they use mappers.


In a second point, I would like to know if there is a way to have standard hooks defined along a form processing request, like onPrepare (init fields), "onValidate" (field cross validation), "onFormSuccess/Error" (clean error, field from session, save), etc, and with something to store validation errors.

How does Lift handle that ? Perhaps it's just some convention to follow like prepare=snippet instanciation, validation=when the submit closure is called, onerror=if the error tracker object has registered errors, etc. If so what are the one you are following ?


Form handling, with validation, is a part that is still a little fuzzy for me, and I would love to have a more systematic way to handle it than in a case by case basis.

Thanks !

--
Francois ARMAND
http://fanf42.blogspot.com

--
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to