Page 3 of 3

Display an image icon instead of the returned value from the database collection for a given field.

Posted: Tue Oct 16, 2012 11:06 pm
by maxkatz

I think 'isReported' is a string.. so you should try isReported == 'true'.


Display an image icon instead of the returned value from the database collection for a given field.

Posted: Thu Oct 18, 2012 6:34 pm
by Richard Norte

Can you please show me the actual javascript code. The generic sample you provide is not detailed enough for me. Thank you.

Image


Display an image icon instead of the returned value from the database collection for a given field.

Posted: Thu Oct 18, 2012 7:49 pm
by maxkatz

This is the actual JavaScript, there is nothing else:

code
if (value == true)
element.show();
else
element.hide();
/code


Display an image icon instead of the returned value from the database collection for a given field.

Posted: Thu Oct 18, 2012 10:09 pm
by Richard Norte

I have the exact same javascript but it does not work for me. I am so confused. :( Can you please email a copy of your project file so I can install and test it under my account.

Or, could me please look at my Track Hours project. Prehaps you'll see something I cannot I'd appreciate it.


Display an image icon instead of the returned value from the database collection for a given field.

Posted: Thu Oct 18, 2012 10:27 pm
by maxkatz

Go ahead and share the entire app for collaboration with support@tiggzi.com, not just the link. You can do it from Share tab (Project list).


Display an image icon instead of the returned value from the database collection for a given field.

Posted: Thu Oct 18, 2012 10:36 pm
by Richard Norte

ok, app is now shared with support.

Image


Display an image icon instead of the returned value from the database collection for a given field.

Posted: Thu Oct 18, 2012 11:45 pm
by maxkatz

It's working. Check the code in mapping. The only other thing I did is marked the image on the page visible.