maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

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

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

Richard Norte
Posts: 0
Joined: Fri Aug 17, 2012 6:34 pm

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

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

Image

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

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

This is the actual JavaScript, there is nothing else:

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

Richard Norte
Posts: 0
Joined: Fri Aug 17, 2012 6:34 pm

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

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.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

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

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).

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

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

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

Return to “Issues”