steigrafx Posted February 5, 2012 Posted February 5, 2012 I have a field with a drop-down value list. As soon as an item is selected from the list, the cursor moves to the next field. I need the cursor to remain in the field. For example, a value might be "Proceeding for the Appointment of a Guardian for ". I need the user to be able to select the value from the drop-down and then complete the sentence by typing a name. Is there a way to accomplish this? Thanks, Kevin
Ocean West Posted February 5, 2012 Posted February 5, 2012 Here is away to do so with a script trigger. valueList.fp7.zip
steigrafx Posted February 5, 2012 Author Posted February 5, 2012 Thank you very much, Ocean West. I've copied your script and changed the field name and I've added [iNSERT NAME]. into the entries in my value list, and I've set the script trigger but it doesn't work for me. For some reason, the [iNSERT NAME] does not get selected and the cursor moves to the next field. I must be doing something wrong. I'll compare your other settings to see if I've overlooked something -- I'm sure I did. Thanks again. I could never have come up with a solution like that. Amazing. Kevin
Ocean West Posted February 5, 2012 Posted February 5, 2012 make sure you add the script to the trigger on the valueList field : i used onObjectExit
steigrafx Posted February 5, 2012 Author Posted February 5, 2012 Thanks. Yes, I did add the script to the trigger. I'm certain I've overlooked something. I'm going to double-check the script again. Kevin
steigrafx Posted February 5, 2012 Author Posted February 5, 2012 Okay...stupid me. I copied and pasted your script steps and then edited the field name. But, I wasn't paying attention. When I pasted the steps, the calcs came across as, for example: "/*PatternCount ( Electronic Recording::Caption: ; "[" ) or PatternCount ( Electronic Recording::Caption: ; "]" )*/" instead of PatternCount ( Electronic Recording::Caption: ; "[" ) or PatternCount ( Electronic Recording::Caption: ; "]" ) Everything works perfectly now. Thanks again, Kevin
comment Posted February 5, 2012 Posted February 5, 2012 Now that you have a technical answer, here's an ideological one: use one field per fact. Two.zip
Recommended Posts
This topic is 4675 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