|
K. Akimoto |
at Aug 20, 2008 at 12:46 am
|
⇧ |
| |
Hi, there,
Thank you Dermot for your response.
I am not sure i see how introducing a class element for the element
would help.
For example, if we hand coded the form, we would have something like:
<form method="post" action="...">
...
<h3>Accessories</h3>
<table border="0">
<tr>
<td>
<input type="checkbox" name="battery"
value="battery">additional battery
</td>
<td>
<input type="checkbox" name="charger"
value="charger">spare charger
</td>
</tr>
<tr>
<td>
<input type="checkbox" name="screen_cleaner"
value="screen_cleaner">screen cleaner
</td>
<td>
<input type="checkbox" name="laptop_bag"
value="laptop_bag">laptop carrybag
</td>
</tr>
</table>
<input type="submit" name="submit" Value="Submit">
</form>
Question: How do we have a form generated like the one above using
HTML::FormFu?
thank you.
K. Akimoto
Quoting Dermot <
[email protected]>:
2008/8/18 <
[email protected]>:
hello there
I love using HTML::FormFu in these two aspects:
1) Validation - oh ,yeah :)
2) configuration (via yaml in my case)
nevertheless, is there any way we can control the rendering (in TT2)?
From what has been done in the catalyst tute for html::FormFu, i
noticed that it just lists down form elements line by line...
I am sure there are websites whereby the graphics designer would place
form elements in different styles..
This is a great tool. Please educate us more:)
I agree it is a great tool - shame the mailing list is down.
I think you have to set the attribute id/class for element (or
fieldset) and use css to position those elements.
- type: Checkbox
name: truefalse
label: True or False
attributes:
title: Is this true or is this false
class: leftCheckBoxes
Good luck,
Dp.
_______________________________________________
List:
[email protected]Listinfo:
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalystSearchable archive:
http://www.mail-archive.com/[email protected]/Dev site:
http://dev.catalyst.perl.org/