top of page
Forum Posts
12944qwerty
Nov 09, 2018
In Coding with Velo
Hello! I need help trying to get a way to detect if a photo item in a dataset is empty so I know whether or not a expand button should show. Here is my code: if(!$w('#dynamicdataset1').getCurrentItem.optionalphoto {
$w('expandbutton').hide()
} This doesn't work when I am on a dynamic page and the optionalphoto item is empty. It does stay showing if I do have something in the optional photo item. Help PLEASE. I AM NEW. BUT I LOVE WIX CODE. Any confusion? Just ask!
1
8
533
12944qwerty
More actions
bottom of page