After reading the comments again I do agree with you that this would be the only solution to be able to validate an htmlarea field.

Ciao,

Reijn

Daniele Madama wrote:
Hi,

instead of replacing the space with nothing, should it not be replaced
by ' ' instead of no space?
Yep, but this case we lost the possibility to use the required="true"
constaint, that may be useful in some cases.

 You can remove current paragraph nodes
(<p>&nbsp;</p>) now that are wanted by a user.

Since HTMLArea is no longer a living project anymore, submitting this
patch to the cocoon code seems fine to me.

Regards,

Jeroen Reijn



Reply via email to