We try to dynamically change the appearance of an image field.
We prepare a JPEG file then we convert the entire file to a Base64
encoded string and successfully store the string in a global variable.
The problem is that the Image Field appearance doesn't change.
var tmpField = this.getField("form1.#subform.imgTestField");
app.alert(tmpField.name); // To make sure the field is accessed.
tmpField.value = global.B64_Image_String; // global.B64_Image_String had a Base64 encoding string.
Probably we miss a method or a property of the image field.
Any suggestions to how to make it work ?
Retrieving data ...