how to export a PDF with the right name automatically
I made a scripted button to be able to export a PDF file, but it would be nice if the name of the file automatically corresponds with the right fieldname. It seems pretty simple but It goes wrong somewhere. I tried it a lot of times and it doesn't week to work. The image shows what I tried to do. It looks like it should work but it doesn't. Anybody a solution?