Changes between Initial Version and Version 4 of Ticket #3295
- Timestamp:
- Jan 19, 2007, 12:41:48 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3295
- Property Summary I'd like to have a group functionality in forms. → [patch] newforms: I'd like to have a group functionality in forms
- Property Triage Stage Unreviewed → Design decision needed
-
Ticket #3295 – Description
initial v4 3 3 I set an attribute in my form class: 4 4 5 {{{ 6 #!python 5 7 class myform(forms): 6 8 field1 = ... 7 9 field2 = ... 8 10 group_myfields = ['field1','field2'] 11 }}} 9 12 10 field1 and field2are fields sets in my custom form class.13 {{{field1}}} and {{{field2}}} are fields sets in my custom form class. 11 14 12 15 I can retrive html output, writing this: 13 16 17 {{{ 18 #!python 14 19 myform().myfields.as_p() 15 20 myform().myfields.as_table() 21 }}} 16 22 17 and retrive only fileds listed in group_myfields.23 and retrive only fileds listed in {{{group_myfields}}}. 18 24