I'm using FileMaker go 14. Trying to add a signature container to an invoices details layout. I created a Signature_Capture script as shown in FileMaker Training Series Advanced but nothing happens when I click on the container
You should have a script similar to this:
Insert from Device [ Documents::Signature ; Type: Signature ; Title: "Title"; Message: "Message"; Prompt: "Sign Here" ]
This is not all you need though. If you want to activate this when you tap the container you need a script trigger for OnObjectEnter on the container field.
You mention clicking. You need an iOS device with the file open to test this. Clicking in FMP will do nothing as it is not supported in FMP only FMGo.
I believe it will also work with an emulator if you do not have a device.
See that it is only supported in FMGo
FileMaker Pro 15 Help
If you don't setup the container as a button with the script attached, it will display a menu to select Signature, Picture, Camera Roll and ect. The only method in FMGo 12. The script can be set to a separate button too.
I appreciate your thoughts. the script I am using is like the one you suggested and I have added the trigger. I am using Filemaker Go on my iPad Pro and would like to use the stylus I bought with it. When I tap on the signature container, nothing happens.
Just for testing I would setup a button that activates the script to see what happens. If the container field is set to not allow entry in browse mode the trigger on the container will not work, but a button will. Do you have browse entry enabled?
I would guess there should not be a difference in the result if you used the pencil or your finger. I think I checked it once on my iPad Pro and the pencil worked with buttons and such.
It is browse entry enabled
Here is a sample database Dropbox - TestSignatureContainer.fmp12
The sample contains the signature container on the layout twice. The first container is not setup as a button and when you tap this container the menu will appear. This is the only option in FM12. Insert from device was introduced in FM13. I setup a separate button and the second container is setup as a button. Choice the method you like the best.
I created a script as well as thee OnObjectEnter trigger When I tap either with my finger or the pencil, nothing happens
You do not need a script trigger.
Did you take a look at the sample that I included?
I did look at the sample and tried both on my layout but couldn't get either to work. I first put in the the signature container alone. When I tapped on I nothing happened. I next added a button with a script. Nothing happened. I then added a trigger. Nothing happened
Sent from my iPad
First, run the sample on your device. Does it work?
If the sample works then your databases has a security issue, or you have changed the default menu to a custom menu.
Did you try using the sample file directly on your iPad without copying the objects to your layout?
It sounds like we are at the point where we need to eliminate an issue with your layouts or your file. Is it possible for you to attach a copy of your file with no data?
Another good test would be to eliminate the install. Have you tried using FMGo 15. It installs as a separate app and does not overwrite v14 on the iPad.
Is the container in a portal? If so, is record creation allowed?
Is there a record in the table? I want to say this script might not give a warning if you have zero records and thus cannot add data.
Retrieving data ...