From: cwhisperer on
Hi,

I have 2 forms on the same php page. When submitting the 2nd form I
don't want that the fields from 1st form are being validated.

I use following code:
$form = new HTML_QuickForm('frmQuestionnaire','post','','',TRUE);

The boolean value TRUE should track if a given form is submitted or not,
but it doesn't work for me... What am I doing wrong?

Thank you for any help.
From: Mark Wiesemann on
cwhisperer wrote:

> I use following code:
> $form = new HTML_QuickForm('frmQuestionnaire','post','','',TRUE);
>
> The boolean value TRUE should track if a given form is submitted or not,
> but it doesn't work for me... What am I doing wrong?

Seems like you set $attributes (fifth parameter) to true ...

HTH,
Mark
From: cwhisperer on
ok works fine now...

thank you a lot... ;)

Mark Wiesemann wrote:
> cwhisperer wrote:
>
>> I use following code:
>> $form = new HTML_QuickForm('frmQuestionnaire','post','','',TRUE);
>>
>> The boolean value TRUE should track if a given form is submitted or not,
>> but it doesn't work for me... What am I doing wrong?
>
> Seems like you set $attributes (fifth parameter) to true ...
>
> HTH,
> Mark
>