On 14.Sep.2002 -- 07:17 AM, Antonio Gallardo Rivera wrote:
> This can be changed to a question: how to manipulate parameters before
> form-validation.
You can use a custom action that stores the result in a request attribute
and validate against that.
> El S�bado, 14 de Septiembre de 2002 06:56, Antonio Gallardo Rivera escribi�:
> > Hi folks!
> >
> > 1-Given a date format: dd-mm-yyyy
> > 2-Given a database field in a table.
> >
> > 2-We have 3 input fields:
> >
> > 1 input for day (2 digits)
> > 1 input for month (2 digits)
> > 1 input for year (4 digits).
> >
> > We use: form-validator.
> >
> > The question is:
> >
> > How to code the 3 fields in the form to add or update the date using dbAdd
> > or dbUpd action?
You could write your own InputModule that combines input from several other
parameters into one.
Chris.
--
C h r i s t i a n H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>