Howto turn off:"input did not validate..." message ?

Author Message

K259

Wednesday 20 July 2005 12:24:26 am

It should be an easy task, a setting or so, but where?

Does anyone know?

Pål J Didriksen

Wednesday 20 July 2005 12:33:27 am

You can edit the class, and uncheck the "required"-checkbox, if the problem is that eZ doesn't allow you to leave fields empty.

But if you want to, for example, make eZ accept values in the email-datatype that doesn't qualify as an email-address, you will probably have to make a new datatype as an extension.

K259

Wednesday 20 July 2005 1:02:55 am

When publishing content, ez doesn't allow a lots of tags, so the editors get tens of lines on top with messages (input did not validate..tag removed...).

I want the system to still validate, but not give the messages. There have to be an easy solution to turn this off``??

Łukasz Serwatka

Sunday 31 July 2005 12:29:25 am

<i> ez doesn't allow a lots of tags, so the editors get tens of lines on top with messages</i>

This depends of field which you using, you can switch from xml filed to text field, then you can use all xhtml tags, but this is of course not a way how to manage with content, xml filed accept couple of tags, because we want to separate content from design.

You can edit file edit_validation.tpl for admin design. Look in to design\admin\templates\content\edit.tpl there is {include uri='design:content/edit_validation.tpl'} which returns validation output and edit_validation.tpl in the same directory.

I hope this will help you.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 21:16:37
Script start
Timing: Jan 18 2025 21:16:37
Module start 'layout'
Timing: Jan 18 2025 21:16:37
Module start 'content'
Timing: Jan 18 2025 21:16:38
Module end 'content'
Timing: Jan 18 2025 21:16:38
Script end

Main resources:

Total runtime1.1667 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 588.0469152.6406
Module start 'layout' 0.00770.0037 740.687539.4766
Module start 'content' 0.01141.1538 780.1641582.8984
Module end 'content' 1.16520.0014 1,363.062512.1250
Script end 1.1666  1,375.1875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2941160.0002
Check MTime0.00150.1268160.0001
Mysql Total
Database connection0.00110.096110.0011
Mysqli_queries1.114595.5296620.0180
Looping result0.00070.0627600.0000
Template Total1.133197.120.5665
Template load0.00200.174820.0010
Template processing1.131096.946220.5655
Template load and register function0.00030.021710.0003
states
state_id_array0.00070.064010.0007
state_identifier_array0.00150.132520.0008
Override
Cache load0.00160.1412180.0001
Sytem overhead
Fetch class attribute can translate value0.00070.063830.0002
Fetch class attribute name0.00190.162760.0003
XML
Image XML parsing0.00120.105530.0004
class_abstraction
Instantiating content class attribute0.00000.001060.0000
General
dbfile0.00200.1691240.0001
String conversion0.00000.000940.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 12
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs