How to reference a javascript variable and use it as a query string in the url of Page Include

  • 1
  • Question
  • Updated 3 years ago
  • Answered
I have a button on the click of which a javascript snippet runs in which i set a boolean variable. Now i want to pass the boolean variable as a query string to the page include. How to do that.
Photo of Rahul Sharma

Rahul Sharma

  • 212 Points 100 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Bill McCullough

Bill McCullough, Champion

  • 13,250 Points 10k badge 2x thumb

Is your boolean variable part of a Skuid model?  This would make it very easy to pass into the page include.  You would just set the parameter on the Query String property using Skuid's merge syntax.  It would look like this->  boolvar={{boolean}}