Tom. Posted February 7, 2016 Posted February 7, 2016 I've tried searching the forum but I can't seem to find anything on this, I have no doubt it's been asked before. I have an advert field, which is an image field that will only allow 1 image to be uploaded. I also have a advert url, which will only show and be required if the image field has an image. I've tried: advert.count>0 advert>0 advert!=0 advert.count!=0 advert!=false advert!='' Non of them seem to work. Anyone know how to do this?
mr-fan Posted February 7, 2016 Posted February 7, 2016 Hi tom. bad news are here: (files&images are not supported) https://processwire.com/talk/topic/9841-field-dependency-on-image-field/#entry94527 but the good news are there: (go a little indirection) https://processwire.com/talk/topic/9841-field-dependency-on-image-field/#entry94530 hope this helps regads mr-fan 4
Tom. Posted February 7, 2016 Author Posted February 7, 2016 Damn, Okay, thank you for the heads up mr-fan I'll have a look into this Concatenate field. Thanks alot!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now