Is it possible to check whether an image field contains an image or is empty ?
Yes, you can check this in a script:
function Has_Photo() {
var photo_id = 'fld-xxx';
var photo = record.getFieldValue(photo_id);
if (photo.length == 0){
return "has no photos";
} else {
return "has " + photo.length + " photos";
}
}
Has_Photo();
Hi Daniel,
Thanks for your response. I’ve never used scripts, this is definitely the moment to explore. I’m starting with the tap forms javascript scripting 101 manual today. Never too old to learn.
Hi Dirk, welcome to scripting! Without scripting, I wouldn’t be a TapForms user!
I’m glad I added scripting then Daniel! :)