Hi All,
I have a Web Page with HTML and Javascript code that show a dropdown item, i need to execute various Fetch XML query on entities that depends on dropdown item selected.
How it's possible to write an IF-ELSE statement in Liquid based on the previous selection?
I've made some research, but I don't found anything that explain that.
For example:
I have this:
<script> var JSVariable = 5; </script>
and I want to do this
{% assign LiquidVariable = --JSVariable-- %}
Thank's in advance