January 4, 200719 yr Hi All, I'm trying to figure out how to get a script to launch after data is input into a certain field; Specifically, a radio button field. Can you gurus help? Thanks, Chris
January 4, 200719 yr If you want to trigger a script after entering data into a field, you can try to use an event plugin such as EventScript or ZippScript. However, since you are talking about a Radio button field, you can just put "clear" buttons where the user would click the radio button. The invisible buttons can have script parameters attached to them to pass a value of which radio value it represents. Then you can use the script parameter in your script.
January 4, 200719 yr Note Another possibility is to define a calculation field that makes a decision on the input of your radiobutton field. I know it's not so flexible as a script but for me preferable for ‘well-organized’ reasons.
January 4, 200719 yr Author Hey Vodka, I've tried the "clear" button method, but it doesn't work because if it is arranged above the radio buttons, you can't click a button. If it is arranged below the radio buttons, the "clear" button won't be pressed at all... Guess I'll have to go for a plugin. Do I have to put that plug-in just on the server, or on every single workstation that accesses the database? AVD128 - That sounds like a good idea, but the calculation field will continuously be calculating, right? That's no good for me, because I need the calculation to happen just once at a certain point in time, and then never again unless the radio button is clicked again. Thanks, Chris
January 4, 200719 yr Sounds very similar to this. EDIT: Or is it this one? Edited January 4, 200719 yr by Guest
January 4, 200719 yr Hey Vodka, I've tried the "clear" button method, but it doesn't work because if it is arranged above the radio buttons, you can't click a button. You have in incorporate as part of your script a Set field [] to set your field to the script parameter value you passed. radio_script.zip
Create an account or sign in to comment