I've no experience with this specific problem, but several things might be affecting this based on how the fields are set on the FM layout, how the various browsers interpret those settings, and the specific keys used to enter the line/returns.
- Are the fields in question set to Go to Next Field when Enter or Returns are keyed. This is controlled in the Inspecotr panel, and will affect whether or not line/returns can be entered in Pro. How a browser interprets that code can vary.
- Is there any difference if the line/return is entered via the Enter-key vs the Return-key? FileMaker interprets these keys differently though most users think they are interchangeable. A browser might also treat them differently.
That's all the ideas I have based on the details so far. Try testing changes to these options and report what happens.
Thanks for the response, after more searching on the web, I cam across the following solution, which I incorporated in my php script, and it appears to have corrected the problem. Haven't tested on IE9 yet, but works with Chrome.
If I find I still have some issues with other Browsers, I'' post it here
Oops, spoke too quick, turns out that with the change, in IE8 I get a blank line between lines. In other words a double line feed.
Can you write your PHP code to behave differently in different browsers/versions?
A lot of bother, but whatever works is usually worth it.
apparently IE8 puts a CR/LF in wile Chrome and IE9 justs put a LF in when the Enter key is used. It also seems that Filemaker only recognizes the CR.
So what I did was replace all occurences of CR/LF with LF, and then replace all occurrences of LF with CR.
This apparently works in all three browswer (IE8,IE9, and Chrome). Haven't tested in other browsers yet, but hopefully..................
Thanks for the rseponses