cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Price <>
Subject how to use a checkbox with DatabaseUpdateAction
Date Tue, 23 Jul 2002 20:36:14 GMT
Is it possible to get DatabaseUpdateAction to write, for example, 'Y' or
'N' into an SQL column according to whether a checkbox is checked/unchecked?

The problem is that only "on" (ie. checked) checkboxes submit a value,
so is there an easy way to translate this into a Y/N value to go in the
DB column.

Apologies is this is well documented somewhere, but I can't find it. I
had no problems getting form values from input/text and selections to
work, but this one's less obvious (to a cocoon newbie like me anyway).



Simon Price
Institute for Learning and Research Technology
University of Bristol
8-10 Berkeley Square
Bristol BS8 1HH
United Kingdom

Direct: +44 (0)7071 226 720
Office: +44 (0)117 928 7193
Fax: +44 (0)117 928 7112

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message