[html-formfu] Displaying 2 forms in the same page

Andreas Marienborg omega at palle.net
Thu Oct 16 08:45:59 BST 2008


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




More information about the HTML-FormFu mailing list