Chekbox attribute - Required?

Author Message

Marko Žmak

Thursday 07 April 2005 8:30:17 am

When I create a new checkbox attribute for a class I can set if this attribute is required or not. Does that make sense? What is the meaning of having checkbox atribute required? Because weather the user clicks the checkbox or not it will always have a value (true or false).

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Frederik Holljen

Monday 11 April 2005 6:52:00 am

Currently the setting doesn't do anything. In future version of eZ publish checking required for checkboxes will force the user to set the checkbox to checked. This is useful for forms where you want users to approve something, e.g "I agree to the above terms"

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 18:30:07
Script start
Timing: Jan 18 2025 18:30:07
Module start 'layout'
Timing: Jan 18 2025 18:30:07
Module start 'content'
Timing: Jan 18 2025 18:30:07
Module end 'content'
Timing: Jan 18 2025 18:30:07
Script end

Main resources:

Total runtime0.8143 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 587.9141152.6250
Module start 'layout' 0.00550.0031 740.539139.4453
Module start 'content' 0.00860.8042 779.9844533.2031
Module end 'content' 0.81280.0014 1,313.18758.1641
Script end 0.8142  1,321.3516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3885160.0002
Check MTime0.00130.1648160.0001
Mysql Total
Database connection0.00080.099310.0008
Mysqli_queries0.772894.9108540.0143
Looping result0.00050.0611520.0000
Template Total0.782296.120.3911
Template load0.00220.266720.0011
Template processing0.780095.797320.3900
Template load and register function0.00010.012010.0001
states
state_id_array0.00150.187910.0015
state_identifier_array0.00070.081520.0003
Override
Cache load0.00170.212980.0002
Sytem overhead
Fetch class attribute can translate value0.00060.073220.0003
Fetch class attribute name0.00090.111940.0002
XML
Image XML parsing0.00100.119620.0005
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00090.1094240.0000
String conversion0.00000.000840.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs