Jump to content

Recommended Posts

Posted

Good evening!

I'm working on a site where the 'editor' must select multiple users.

I set up a field with this 'selector' => "template=user,sort=lastname"

It works as designed, but when I add roles => "template=user,roles=huidige_leden,sort=lastname".

Suddenly the validation fails constantly.

Can anybody tell me what I'm doing wrong?

Posted

Roles returns PageArray. 

Guest = 37

Superadmin = 38

Perhaps you can try roles.name in the selector.

Posted

Instead of "huidige_leden" you should use the page id for the role. Not tested but should work.

The operator is correct but the type of value is wrong.

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...