You have a mapping from parameter "archive_on" to "Visible" property.
As I can see parameter "archive_on" has boolean value.
Are you sure Response параметр "archive_on" has "true" or "false" value?
You have a mapping from parameter "archive_on" to "Visible" property.
As I can see parameter "archive_on" has boolean value.
Are you sure Response параметр "archive_on" has "true" or "false" value?
yep. It returns either a null, true or false.
Hello! You have your mapping set to Visible property and JS should return line "true" or "false". If you want to hide component you should execute return "false";
Yep. when it returns false it doesn't work. using firebug I see it only changes the display type to block (doesn't hide it).
Could you please share your app with a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a?
I've shared the app called "hide_no_worky" with a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a. The one image named "img_worky" has the URL mapped to the image asset field and the "live_on" is mapped to the visibility field. If you test the web service, you'll see the values returned (you'll see live_on returns "false"). The image shows up fine, but it doesn't hide properly. Let me know what you find.
Thanks so much for your help. It's greatly appreciated.
Hello Steve,
I'll update when we have it tested.
In mapping, replace the JavaScript code with:
codeif (value === 'false'){
return false;
} else {
return true;
}/code
That fixed it! Awesome. Thanks!
$(element).hide();
it works for me.