On Oct 14, 2008, at 12:24 PM, Matija Grabnar wrote:

Andreas Marienborg wrote:
More like this? this is untested, and written by memory :p someone might wanna write a test-application based on it?

That certainly makes it clearer. (And I'm amazed that I missed the "indicator" entry while reading the form-fu documentation). Just one quibble: Shouldn't the comment
# Since we set indicator, we should only end up here if we
# have a username in the form

come AFTER this if?
if ($login_form->submitted_and_valid) {

Or am I completely misunderstanding how and where indicator is used?


No you are completely correct :) I fixed that now

Thanks for the feedback :)



- andreas


_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to