Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Some FormFu Questions

by John M. Dlugosz (Monsignor)
on Mar 22, 2011 at 12:23 UTC ( [id://894782]=perlquestion: print w/replies, xml ) Need Help??

John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:

Using HTML::FormFu, how do I generate an id on the div that wraps the actual control? If I put an id in the element block of the config, it goes on the input element itself, and is cross referenced by the for attribute of the label, but does nothing to the enclosing div. And CSS can't select based on children's features.

I also want to put the checkbox label to the right of the box, and the documented reverse_single didn't do anything to it.

On a related note, how do I make the checkbox initially checked when the form is displayed with no data? The value is already 1, and I guess that's what it would be if it was set.

What I want to do is display a text area, and under that a submit button on the left, and a checkbox with "CC me" on the right, on the same level as the button.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://894782]
Approved by ikegami
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-08-10 14:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When will the AI bubble burst?






    Results (22 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.