Document has a field called FullDesc where user
enters RMK/MDCN>>ED>>>>PE>>>>R>>>05>013>>>>6
where > indicates user entered a space, this
is necessary because this forum is doing the same thing to my entry.
and it shows as RMK/MDCN ED PE R 05 013 6
How can I get the field to retain extra spaces that user wants. Currently a rich-text field, but I have experimented with text and rich-text lite.
Subject: Well, lets see:
RMK/MDCN ED PE R 05 013 6
Seems to retain the extra spaces for me.
Subject: RE: Well, lets see:
Sorry Bill, but I do not see them, on different browsers on different machines no less.
Subject: That’s how HTML works
You never see multiple spaces rendered in a browser. They are visible, of course, in the Notes client.
Subject: RE: That’s how HTML works
Any way you know of (via html code for instance) to retain that spacing. Or to pass on spaces as displayable blanks?
Subject: Use the Java Applet
Use the Java Applet for your rich text field.
Subject: Retain extra spaces in a field.
A rich text field should retain extra spaces - it keeps all formatting. If you type an email message in Notes that has extra spaces in the body field, they are not trimmed out.
Subject: RE: Retain extra spaces in a field.
I agree, but it isn’t. Any idea where I am going wrong?
Subject: RE: Retain extra spaces in a field.
Does the Body field in your mail template retain spaces correctly? If so, why not just copy that field into your form and rename it? It will then have whatever properties your field is missing that allows the spaces and formatting to be retained.
Subject: RE: Retain extra spaces in a field.
Unfortunately we do not use mail. So I do not have any such template or field to copy.
Subject: RE: Retain extra spaces in a field.
As long as you have a Domino server, you should have a mail template. You may have to create a new file, but if you do File/Database/New, then select your server, the mail template should be one of the available ones.
Subject: RE: Retain extra spaces in a field.
Well, I did that and same results. So it is as other thread says and because of browser and http code. Within client itself I can see spaces. With edit mode of through browser same thing. When viewing a document in browser they are removed.
Subject: RE: Retain extra spaces in a field.
It’s kind of a hack, but what if you surround the rich text field with passthru HTML pre tags? This might force it to accept the whitespace as preformatting.
Subject: Retain extra spaces in a field.
Have you experimented using instead of spaces? I don’t remember if Domino sends that out to the browser literally. If it works (displays a space), then convert using @ReplaceSubstring(FullDesc; " "; " ").