AnsweredAssumed Answered

Running script "on commit" in IWP

Question asked by tony24601 on Aug 9, 2010
Latest reply on Aug 9, 2010 by tony24601


Running script "on commit" in IWP


Hello, I just have a quick question that I couldn't find the answer to. I need to run a script every time a record is commited in IWP. I know this is really easy to do in FM, but I'm having trouble coming up with a way to do it with IWP. My orignal idea was to just add another commit button of my own into the layout and then have the button run my scrips and commit the record. Unfortunately, my client doesn't like this since he's afraid of people still hitting the normal submit record button built into the interface. Any ideas?

And one more quick question while I'm at it. Is there a way to build into an if statement if(using IWP)? I have one or two scripts that I want to run only in Filemaker and not in IWP since they don't work correctly in IWP and have made workarounds for them.

I'm using FM Advanced 11, just FYI.

Thank you.