How to use both "Required" and "Information collector" options?

Author Message

Tijs van Bakel

Wednesday 02 April 2003 2:15:46 am

Hi,

I have installed ezPublish 3 final, and am experiencing problems with a form using the Information collector option.

Apart from this, everything else is working really nice, and I am very impressed.

The Form class I have created has some fields with both the "Required" and "Information collector" options enabled. However, when publishing an object of this class, I have to enter data (because the admin interface says data is "Required"). I do not want to enter data in advance, it should only be required when users submit the form.

If i recall correctly, this worked as expected in ezPublish 2.9.7. I have read both the "Creating forms" tutorial in the SDK and "Information collectors" in the manual.

Am I missing something, or is there a workaround?

Thanks in advance,

Bård Farstad

Monday 07 April 2003 4:22:23 am

In 3.0 final you cannot set required for information collectors. In other words, input validation for information collectors are not yet supported.

--bård

Documentation: http://ez.no/doc

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

Main resources:

Total runtime0.0406 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.3906151.2422
Module start 'layout' 0.00580.0036 739.6328220.7500
Module start 'content' 0.00940.0295 960.3828997.7734
Module end 'content' 0.03890.0017 1,958.156329.9922
Script end 0.0405  1,988.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00327.9065140.0002
Check MTime0.00112.8332140.0001
Mysql Total
Database connection0.00051.160710.0005
Mysqli_queries0.00225.430130.0007
Looping result0.00000.022310.0000
Template Total0.00123.110.0012
Template load0.00102.435310.0010
Template processing0.00030.624110.0003
Override
Cache load0.00071.753010.0007
General
dbfile0.007919.491380.0010
String conversion0.00000.020640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs