Model Condition State: "Always Off" vs "Filterable Default Off"

  • 1
  • Question
  • Updated 4 years ago
  • Doesn't Need an Answer
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb

Posted 4 years ago

  • 1
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Photo of Ben Hubbard

Ben Hubbard, Employee

  • 12,490 Points 10k badge 2x thumb
Hi Pat,

To answer your other question, I think the weirdness you are seeing has to do with the name of your second condition.  You named your second condition "id".  A feature of Skuid is that named conditions will look for URL parameters with their name.  If they find one, they will activate themselves and set themselves to the value of the parameter.  I'm guessing that your page does in fact have an id URL parameter being sent in.
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
ARG!!! ERG!!! ( screwed up face and gritting teeth )
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Explains so much!!!
Photo of Ben Hubbard

Ben Hubbard, Employee

  • 12,490 Points 10k badge 2x thumb
We're working on getting this added to the documentation for conditions.  One quick tidbit that will be added there when it is up is that there are two special values you can send in your URL parameters as well. "-on-" and "-off-" will activate or deactivate a named condition.  So if you had a URL like this "MyPage?MyNamedCondition=-off-&MyNamedCondition2=-on-" Those two conditions would have their default states overridden to what the parameters told them.