textfield1 accepts user entry of 2 lines of text, that is then copied to textfield2, which displays that text as a long single line. When text is entered as a continuous phrase in textfield1, allowing wordwrap to advance to the second line, textfield2 displays ok. But if the user prematurely advances to the second line of textfield1 by using the enter key, a carraige return is included in the text displayed by textfield2, and the second line drops below and is not visible.
I'm trying to remove the carraige return in a calculation event script on textfield2. I've tried all the variations of the Replace function I can think of, all with no success: Replace($, "U000D", " ")
I've also tried U+000D, U+oooD, UoooD, #xD, using Space(1) in place of " ", using the full SOM instead of $, adding the escape character \, removing quotes around the carraige return code (syntax error), etc etc. I need help.
your were very close to the solution.
When I use this FormCalc in the exit:Event my form behaves as you described.
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs