<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2995" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>> Why not provide a default value for the field
?<BR><BR>> Cheers,<BR><BR>> Carl<BR><BR>For those who haven't read the
previous post, first look at:<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://mail.opencms.org/pipermail/opencms-dev/2006q4/026983.html"
target=_blank>http://mail.opencms.org<WBR>/pipermail/opencms-dev/2006q4<WBR>/026983.html</A><BR><BR>Here
is my reply, Carl:<BR><BR>We don't want to provide a default value as we want
the users to input<BR>all the info (correct info) thmeselves. If we provide a
default value,<BR>users can submit the form with this value by mistake and the
editor<BR>wouldn't warn them about that issue.<BR><BR>The question is: why
validation rules are triggered when you select a<BR>language from the combobox,
and aren't triggered at the time you enter<BR>in the edit form of the
content?<BR>I think that the current approach is inconsistent.<BR><BR>If rules
are triggered when you change the language, should be<BR>triggered at the time
you enter the form. This has a drawback. If you<BR>validate empty fields, you
can't enter the form and can't edit other<BR>languages.<BR><BR>So, I think the
best approach is to trigger rules ONLY when save<BR>button is pressed (which I
think is the most intuitive approach for<BR>both the users of the application
and the developers).<BR><BR>I sent this to the mailing list just in case I was
doing something<BR>wrong, but It seems to be a bug (not may fault). What is the
best way<BR>to report this bug?<BR><BR>Thanks.
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>