Pass argument to event.target.buttonImportIcon()
Hi. I'm trying to import an image into an image field on a form by passing an argument. The argument is the fully qualified path + file. I saw the following short script in a post and I am trying to tweak it to make it work ...
var a =this.getField ("Hidden Text").valueAsString;
var b =this.getField ("Application Images(Screenshots)").valueAsString;
event.target.buttonImportIcon(a+b);
I have also tried to hard code the argument, and the field will not accept the image.
[ event.target.buttonImportIcon("/C/myPath/Image1.jpg"); ]
I get nothing ... Any suggestions would be much appreciated. Thanks!!
