Jump to content

Unknown Selector operator: '%=$'


verdeandrea
 Share

Recommended Posts

Hi guys, I can't get the reason of this error.

This is my code

$s = $pages->get('1689');
$answer_text = "Yes";
$answers = $s->find('answer_checkbox_repeater.answer_checkbox_text%=$answer_text');

"answer_checkbox_repeater is a repeater field"

And i get

Fatal error: Exception: Unknown Selector operator: '%=$' -- was your selector value properly escaped?

I've tried to change the operator to "=", or "~=" or "*=" but i get the same error.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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