information collector for checkbox

Author Message

Sven S.

Thursday 05 June 2003 1:58:07 am

hello,

I found a problem in usig checkboxes in form-templates (information collector). i created a new class for forms and added a datatype "checkbox".
unfortunatly there is no choice for checkboxes to use them for an information collector.

how can i use a checkbox (or radio buttons) as for an information collector?

thanks in advance
sven

Bård Farstad

Thursday 05 June 2003 2:04:27 am

Checkboxes does not support information collection, yet.

-bård

Documentation: http://ez.no/doc

Paul Forsyth

Thursday 05 June 2003 3:57:49 am

sven,

have a look at this thread:

http://ez.no/developer/ez_publish_3/forum/developer/radio_buttons_within_forms

basically you just need to refer to the correct attribute id.

paul

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 11:13:57
Script start
Timing: Jan 18 2025 11:13:57
Module start 'layout'
Timing: Jan 18 2025 11:13:57
Module start 'content'
Timing: Jan 18 2025 11:13:58
Module end 'content'
Timing: Jan 18 2025 11:13:58
Script end

Main resources:

Total runtime0.7568 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 589.1328152.6250
Module start 'layout' 0.00590.0033 741.757839.4453
Module start 'content' 0.00920.7462 781.2031565.0078
Module end 'content' 0.75540.0014 1,346.21098.1563
Script end 0.7568  1,354.3672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4043160.0002
Check MTime0.00130.1665160.0001
Mysql Total
Database connection0.00080.103010.0008
Mysqli_queries0.708493.6019590.0120
Looping result0.00050.0691570.0000
Template Total0.729096.320.3645
Template load0.00210.279120.0011
Template processing0.726896.040020.3634
Template load and register function0.00030.034310.0003
states
state_id_array0.00070.097910.0007
state_identifier_array0.00070.085920.0003
Override
Cache load0.00170.2291190.0001
Sytem overhead
Fetch class attribute can translate value0.00070.087130.0002
Fetch class attribute name0.00170.229040.0004
XML
Image XML parsing0.00080.106830.0003
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00090.1156170.0001
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs