cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: Setting a form field value as an empty string?
Date Fri, 29 Feb 2008 13:09:58 GMT
Derek Hohls <DHohls <at> csir.co.za> writes:

> I'd like to be able to set the initial, default value of a form to be an empty 
> string; at the moment, if the user does not fill in a value, then it gets
> treated as a NULL value when passed to the database.
>  
> I have tried:
> <fd:initial-value></fd:initial-value>
> and
> <fd:initial-value> </fd:initial-value>
>  
> but am still getting a NULL result.

You mean it's correct in the form, you don't see null on the screen, but in the
database it is NULL? Then I guess you have to fix your binding.

Joerg



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message