listfield in code source

Andy Altepeter <[email protected]>
Newsgroups gmane.comp.web.zope.silva.devel
Organization Bethel University
Message-ID <[email protected]>
Hi,

I have a list field in an external source that requires newlines to be present 
(each line is a separate item).  In the forms-based editor, newlines are 
retained when the source is saved.  However in kupu, the newlines are 
stripped, which breaks this code source.

Is there any way to work around this?  I could probably detect where the 
newlines are "supposed" to be, and insert them on save, but how do I do this?  
Is it possible to use an external validator method in formulator to change 
the value of a field before it is saved?

I could put the newline detection in the rendering script, but then the list 
field in kupu would show one long line instead of multiple items.

I have tried using a multi list field as well, but it behaves in the same 
manner.

Thanks for the assistance,
Andy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.