Forums / General / Option Datatype problem with required flag.

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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, Exponential 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