Information Collectors with required fields problem

Author Message

Paul Forsyth

Wednesday 30 April 2003 2:28:08 am

We have a form with elements as information collectors and some elements are required.

We need to create an object for this class in order to fill in some elements such as names, phone numbers etc. When that object/node is viewed we use {attribute_view_gui} to display the input fields. {attribute_edit_gui} seems to give the same result...

Our problem arises when we come to publish the object, the form rightly demands some text for those elements that are required. However, the elements are those we want to display as being blank to the user.

Currently we have entered a space to get round this but is there another way of publishing an object intended to be used as an information collector without filling in required fields?

Thanks

Paul

Tony Wood

Wednesday 07 May 2003 1:25:39 am

Yes, this is a bit of a problem and way to fix it?

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Bård Farstad

Wednesday 07 May 2003 2:18:10 am

This is not working properly now. We will fix this so that the required information collectors will require the content input from the user ( on collecting of information) rather than on object creation like it is now.

-bård

Documentation: http://ez.no/doc

Tony Wood

Thursday 08 May 2003 4:08:27 am

Thanks Bård, I'll look out for it in SVN.

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

James Ward

Thursday 04 December 2003 12:55:41 pm

What is the status on this? I'm just running into this problem now. A little validation on information collection would be great.

working at www.wardnet.com
blogging at www.jamesward.ca

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 30 2025 21:42:33
Script start
Timing: Jan 30 2025 21:42:33
Module start 'layout'
Timing: Jan 30 2025 21:42:33
Module start 'content'
Timing: Jan 30 2025 21:42:34
Module end 'content'
Timing: Jan 30 2025 21:42:34
Script end

Main resources:

Total runtime1.4067 sec
Peak memory usage8,192.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 588.2813151.2266
Module start 'layout' 0.00460.0042 739.5078220.7188
Module start 'content' 0.00891.3969 960.22664,546.2188
Module end 'content' 1.40570.0009 5,506.445315.8125
Script end 1.4066  5,522.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2347160.0002
Check MTime0.00130.0915160.0001
Mysql Total
Database connection0.00060.040610.0006
Mysqli_queries1.308293.0027670.0195
Looping result0.00080.0587650.0000
Template Total1.346295.720.6731
Template load0.00210.150820.0011
Template processing1.344095.547720.6720
Template load and register function0.00170.120910.0017
states
state_id_array0.00140.099710.0014
state_identifier_array0.00290.205220.0014
Override
Cache load0.00180.1263220.0001
Sytem overhead
Fetch class attribute can translate value0.00190.133240.0005
Fetch class attribute name0.00230.164180.0003
XML
Image XML parsing0.00260.186840.0007
class_abstraction
Instantiating content class attribute0.00000.001390.0000
General
dbfile0.00260.1850290.0001
String conversion0.00000.000640.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
5content/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
4content/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: 16
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs