tried that out. It just results in the values being appended to each other like so
13
no lines or spaces between
I have an action button with connection type runprocess that I want to append a value from a drop down field to a text field after adding a carriage return, so the new value appears on the next line. My code is
{ document.x = document.x + \n + document.drop_down }
Whether I try HRET or \n, it acts like I did not put a carriage return in at all, and just appends
the new value on the same line. Any ideas?
Thanks
Ken
+ hret + should work. otherwise, + "nr" + should work. when I want to append a field, I use an action button with setvalues and select append to.
yes but have you tried to append to a new line? If I use HRET it is ignored. If I use "\r\n" it puts in garbage characters and the values remain on the same line. Sorry my code sample is wrong - it should have either HRET as is or "\n" (in quotes)
works fine in EMR 9.5.
must be a bug in 10.0 now that we have upgraded, thanks