September 17, 201114 yr I have a portal field that is a popup type. In addition to letting the user choose a value for the field, I would like a script to run when the user clicks on this field. I have tried the following without success: 1) If I give this popup field button capabilities in order to run a script, the script will run but the popup function no longer works. 2) If I try to use script triggers for this popup field, no matter what event(s) I choose, the popup function works but the script never runs. Any ideas?
September 17, 201114 yr no matter what event(s) I choose, the popup function works but the script never runs. How about OnObjectModify? See also: http://fmforums.com/forum/topic/79182-script-triggers-not-telling-me-if-a-field-really-was-modified/page__p__369336#entry369336
September 17, 201114 yr Hi Tom, Script triggers will not fire upon field entry (when using pop-up menus or radio buttons). As mentioned, script can fire OnObjectModify (after User makes a selection). Can you explain what you need the script to do (upon field entry and also after user makes selection) and we can provide more detailed response? You will probably have to turn off entry to the field like the ole' days. Hi efen, I assumed 11 because Tom mentioned script trigger but it is good to verify. Tom, please update your profile if need be. :^)
September 18, 201114 yr Author I am on FileMaker Pro Advanced 11. The modify event works. I had some other code that was not making it work. Thanks to all of you.
Create an account or sign in to comment