Hi!
Hi, the form component clearInput method that clean this state is called on
the valid method. I'm trying to guess why the form component keep his raw
input after an form processing with errors. I can't figure out why don't
clear the raw input in this situation, since on the next form
Hi Martin, thanks for the reply!
Hi, the form component clearInput method that clean this state is called
on
the valid method. I'm trying to guess why the form component keep his raw
input after an form processing with errors. I can't figure out why don't
clear the raw input in this
Hi!
I don't know the original design but if you (e.g., ajax) redraw some
components it's goddamn useful to have the raw input. Say that you
redraw erroneous components with red border like I do. You would lose
the raw value if you clear that and the user would lose the input.
Actually this
IMO the form processing can be:
1. validate
2. detect error
3. keep rawinput
4. re-render error components with red border AND rawinput
4.1. throw away the raw input in some detach method
5. user retry form submit
6. all form components get they raw input again since they get rendered
Hi!
What's the difference whether it's thrown away or not if the next step
is re-submit with new values?
**
Martin
2010/2/22 Pedro Santos pedros...@gmail.com:
IMO the form processing can be:
1. validate
2. detect error
3. keep rawinput
4. re-render error components with red border AND
if a user refreshes the browser or does some other action (go first to
another form in another page and back again)
then we still can render the latest user output just fine the next time
On Mon, Feb 22, 2010 at 21:42, Pedro Santos pedros...@gmail.com wrote:
IMO the form processing can be: