ibiubu Posted March 29, 2002 Posted March 29, 2002 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
RussBaker Posted March 30, 2002 Posted March 30, 2002 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
Recommended Posts
This topic is 8279 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now