Option Datatype problem with required flag.

Author Message

Daniele Nocentini

Wednesday 05 July 2006 1:50:17 am

I have made a contact form with two option datatype with required flag, I have tow questions:
1) why when I look my contact form the first options for the datatype is checked?
2) If I modify the "content\datatype\collect\ezoption.tpl" and I remove the this control:

{section show=$OptionList:item.id|eq($option_id)}checked="checked"{/section}

the first option is not checked but If I submit the contact form, ezpublish don't give me an error for option not checked but also if is required.

Antica Bottega Digitale srl
http://www.abd.it

Kristof Coomans

Wednesday 05 July 2006 4:33:07 am

Hello Daniele

I think these are bugs, I get the same results here on a trunk installation.
Please report them in the bug tracker. Thank you.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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