I am trying to do something really simple with xPages.
I have a multline Editbox in my xpages and want to save the data to either a richtext field or a textfield preserving line breaks.
The only way to preserve line breaks seem to be if the xPages control is RichText and the Notes form field is RichText.
So, if I use a multiline editbox I guess my line feeds are stored in the field, I just can’t see them.
#1. how can I convert my linebreaks to br tags using SSJS.
#2. there seem to be some serious problem with computewithform, (using 8.5.2) If I have a muliline edit box in xpages and a richtext field in the notesform, the linebreaks look to have been preserved, if I enter the notesdocument in the notesclient and save it the linebreaks show nicely in the webbrowser.
I have tried to put computewithform on the data source, and also tried doc.computewithform in SSJS, not working, again, the only thing working is to manualy entering the notesdocument and hit save.
what to do.
please help
Thomas