how we can use external variable in visibleIf and enableIf …
i tried with survey.setVariable()
survey.getVeriable()
https://plnkr.co/edit/FUObM5efUm89maKC?preview
I need to hide perticular question if array is empty.
thanks,
tejal
how we can use external variable in visibleIf and enableIf …
i tried with survey.setVariable()
survey.getVeriable()
https://plnkr.co/edit/FUObM5efUm89maKC?preview
I need to hide perticular question if array is empty.
thanks,
tejal
Hello,
Here is your expression:
Code"visibleIf" : "{connectivityGroups.length} == 0"
and your code:
JavaScript//make it visible
survey.setVariable("connectivityGroups", []);
//make it invsibile
//survey.setVariable("connectivityGroups", [1]);
Your updated example.
Thank you,
Andrew
SurveyJS Team