[html-formfu] Subforms show up as text fields
Leanan Sidhe
the.leanan.sidhe at gmail.com
Thu Mar 5 19:04:56 GMT 2009
That's odd.
I changed one of my subconfigs to the following:
---
elements:
- type: Fieldset
legend: Test Fieldset
element:
- type: Text
name: Test1
label: Test1
It displayed just fine. When I removed the elements line it complained that
it couldn't find legend in HTML::FormFu
I wish I could help more.
On Thu, Mar 5, 2009 at 1:47 PM, Ascii King <tech at swattermatter.com> wrote:
> I have tried it with just the three dashes. It just moves on to the next
> error.
>
>> I notice that your sub configs don't have the '---' line... out of
>> curiosity, what happens if you just add that line to the very beginning
>> (leave all else as it is)?
>>
>>
>> It does this. Just finds the next object method that isn't in
> "HTML::FormFu::Element::Text" and reports it as an error.
>
> |If I remove those lines, it displays the button, but as a text
>> field.| If I put in a fieldset it then gives me a similair error.
>>
>> - type: Fieldset
>> legend: Test Fieldset
>> element:
>>
>> - type: Text
>> name: Test1
>> label: Test 1
>>
>> The error it gives is :
>>
>> |"Can't locate object method "legend" via package
>> "HTML::FormFu::Element::Text"|
>>
>>
>>
> _______________________________________________
> HTML-FormFu mailing list
> HTML-FormFu at lists.scsys.co.uk
> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20090305/24=
ee07d0/attachment.htm
More information about the HTML-FormFu
mailing list