![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I'm using FMPA 11. I want to enter a value in a field. On these field I wan't to connect a scripttrigger that launches a script when the content of the field has changed. I thought I could do this by by selecting "OnObjectModify" in de Set Script triggers. My problem is the following. Lets say in the field (number) you have the number 100. I want to enter 200 and since is different to 100 the "connected" script should be launched. Problem is that the script is launched from the moment I entered the first digit (in this case the 2). Is there a way to launch the script when this content is different (and only then) to the previous content |
#3
| |||
| |||
|
|
Hello, I'm using FMPA 11. I want to enter a value in a field. On these field I wan't to connect a scripttrigger that launches a script when the content of the field has changed. I thought I could do this by by selecting "OnObjectModify" in de Set Script triggers. My problem is the following. Lets say in the field (number) you have the number 100. I want to enter 200 and since is different to 100 the "connected" script should be launched. Problem is that the script is launched from the moment I entered the first digit (in this case the 2). Is there a way to launch the script when this content is different (and only then) to the previous content, but that this is "checked" after I entered the whole new number and I exit or save the object. An extra problem is that I'm doing this through a portal, so the option to copy the previous content into another field while entering the layout or instance and doing the check afterwards by comparing these two is no option. |
#4
| |||
| |||
|
|
MB<newsgroup (AT) bouts (DOT) in> wrote: Hello, I'm using FMPA 11. I want to enter a value in a field. On these field I wan't to connect a scripttrigger that launches a script when the content of the field has changed. I thought I could do this by by selecting "OnObjectModify" in de Set Script triggers. My problem is the following. Lets say in the field (number) you have the number 100. I want to enter 200 and since is different to 100 the "connected" script should be launched. Problem is that the script is launched from the moment I entered the first digit (in this case the 2). Is there a way to launch the script when this content is different (and only then) to the previous content I'd take OnObjectSave and compare the content to a global variable or global field that I'd have set with OnObjectEnter on the same field. |
![]() |
| Thread Tools | |
| Display Modes | |
| |