March 29, 200223 yr I have a text field which scrolls because of occasional length of content. I have a script which includes "Insert Current Date" and "Insert Current Time." I turned of the "Select Entire Contents" feature for this script. I made the text field act as a button, so when the text field is clicked (to either enter or edit the text) the current date is added. Here is the question...the current date is always added to the end of any existing text in the field. Is there any way to have it be added to the front of any existing text within the field? LR
March 30, 200223 yr Not sure I understand what you want 100% but a script step like: code: SetField[TEXT_FIELD,"DateToText(Status(CurrentDate))&" "&TEXT_FIELD"] should do it. This will add the current date to the start of TEXT_FIELD and place the cursor at the end of the contents of that field. Russ Baker
Create an account or sign in to comment