ComPy Posted December 27, 2019 Share Posted December 27, 2019 Hello I took over an existing processwire project and had to develop a custom fieldtype. It was more like adjust and existing fieldtype. Everything seems to work fine but it doesnt work like the other fields when I select the option Open when populated + Closed when blank. It'll stay always open. Even if the inputs are empty. If I set it to closed it will be closed. So I guess the field doesnt recognize it is blank. Couldnt figure out how it determines blank fields. Tried to set DB NULL, 0, empty with no luck. Any help where the cms checks fields state? Link to comment Share on other sites More sharing options...
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