Merge syntax for condition?

  • 1
  • Question
  • Updated 4 years ago
  • Answered
I'm looking to pull in the value of a condition through merge syntax. Can we do that?  I was thinking something like {{$Model.MyModel.condition.0.value}}.

But nothing I try seems to work.
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb

Posted 4 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Here is the list of stuff you can get with global merge syntax. 

http://help.skuidify.com/m/11720/l/187263-global-merge-variables-functions

Sorry - conditions are not included. 

You can get them via Javascript though..
Photo of Zach McElrath

Zach McElrath, Employee

  • 48,984 Points 20k badge 2x thumb
Actually you can get them, we need to update that list, Jim you were so close, you just needed to do conditions (plural) (and Rob's in the dog house again :)

{{$Model.MyModel.conditions.0.value}}
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Man, its just not my day.  I hate it when the devs are so far in front of us doc and support guys.. 
(Edited)
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Haha, sweet! Thanks, Zach. I should have guessed that 'data' was plural!

No worries, Rob. As much as you've helped us over the last few months, you're allowed to be wrong once in a while.