3 Feb 20:14
[FormBuilder] <tr> HTML attributes
From: José Parrella <joseparrella <at> gmail.com>
Subject: [FormBuilder] <tr> HTML attributes
Newsgroups: gmane.comp.lang.perl.modules.formbuilder
Date: 2007-02-03 19:15:23 GMT
Subject: [FormBuilder] <tr> HTML attributes
Newsgroups: gmane.comp.lang.perl.modules.formbuilder
Date: 2007-02-03 19:15:23 GMT
When using CGI::FB in a standard way to build a form, I was interested in the jsclick option in order to provide a quick effect from Scriptaculous in my forms: if a radio button was clicked, some rows needed to appear. This requires me to set an id="" attribute in the desired <tr>'s (which CGI::FB already does: FormName_FieldName_label) but also to set inline display: none; style attributes in order to "hide" the rows when the form loads. I can't specify them through CSS because of a del.icio.us feature, but I didn't see an option to specify <tr> attributes (just <td>). I patched CGI::FB in order to have this done, but I could also have used a particular template, of course. Is there any other way to achieve this which is currently available in FB? Would it be useful if we could specify <tr> attributes through CGI::FB? Thanks a lot, Jose -- -- José M. Parrella -> Debian Sid, k2.6.18 Escuela de Ingenieria Electrica Universidad Central de Venezuela -> ucvlug.info _______________________________________________ FBusers mailing list FBusers <at> formbuilder.org http://www.formbuilder.org/mailman/listinfo/fbusers
RSS Feed