Give the layout text containing your merge variable and object name. Then add a refresh object step to your script after changing the value of the variable.
You second complain reveals that you are using Safari to post to this forum. Other web browsers do not have this issue. You can:
a) use a different browser or
b) leave a character to the right of the cursor and then pressing return will not jump the cursor back to start.
and in either case, we'll be switching to entirely different software near the end of this month.
Great, it works well, thank you.
As for the browser, no I'm currently using Microsoft Edge from Windows 10. But from now on, I'll use Chrome if it works better.
I use Firefox myself. This is the first report for Edge, but it's all a short lived issue due to the fact that FileMaker inc is finally junking the garbage software they've been trying to get to work here by the end of the month.