April 13, 20178 yr I'm working on a merge letter type interface. I have a list of merge field choices in a portal next to a text field. I would like to be able to insert into the text field when clicking on a button on the portal row. But I just realized when clicking a button in a portal it pulls the cursor out of the currently active field since I'm actually selecting a related record. Thus Insert Calculated Results will not work to insert the merge field name at the current cursor position. Any suggestions on how to work around this issue?
April 13, 20178 yr Attach an OnObjectExit script trigger to the target field, and have the script set variables to the active selection start and size. Have the inserting script start by restoring the selection in the target field, using the above variables.
Create an account or sign in to comment