Jump to content

Recommended Posts

Posted

Inputfield dependencies work with the html inputfields, which aren't filled for file fields, because of it's long time ajaxy nature. Afaik there's currently no way to archive what you need.

  • Like 1
  • 9 months later...
Posted

field.count=0,field=1 ( not works)

so i need to find page that containes field value = 1 and all pages that not containing any value. 

solved: field=0|1

  • 7 months later...
Posted

You can also pass selector in array, it worked for me with checkbox.

 

$searchCriteria = array('parent' => 'some_id',
	'some_field' => 0,
	'some_other_field' => array(0, 1)
);

$results = wire('pages')->find($searchCriteria);

 

  • 2 years later...
Posted
On 9/7/2017 at 2:47 AM, vxda said:

You can also pass selector in array, ...

 

Extremely helpful hint - thank you!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...