OnModify script trigger? OnRecordCommit Script Trigger?
Your field value management is clearly within a script...you are just looking for how to launch the script. Peruse the various script triggers available to avoid the need to click a button.
I'd try OnObjectSave since this is a drop down list. (OnObjectModify will trip with each keystroke and that won't work with this script.)
ok so i got it to work where when i click enter it adds it. thats all great. my next issue is that i would like it to stay in that field so i can continue to input data. because i have a tab order it goes back to the first item in the tab order. is there a way to make one field bypass the tab order?
also the way it works not is that when i add a number it puts it in another field and sorts it accordingly (specifics are described in the link) what i would like to be able to do is to not have to add numbers one at a time. using all the crazy scrips and functions can i use the field i use to enter data to input multiple numbers like "1-12" or "1,4,6" or even "1-12,14,16,18-20" and have it add all of the numbers into the other field and allow the drop down to recognize that there are numbers between the dashes.
if none of that makes sense please ask questions. i really want this to work and im just not sure how.
thanks so much for your help!