Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Getting current page number for use in js

More
2 hours 1 minute ago #274628 by BBSR-SR5
Please help us help you and fill where relevant:
Your LimeSurvey version: LimeSurvey Cloud Version 6.17.10
Own server or LimeSurvey hosting: LS cloud
Survey theme/template: fruity 23 customisation
==================
Hi,

I'm trying to write a js that basically wants to check the current page num against two other numbers and does something in case true.
Code:
if x <= current_page &amp; current_page < y {
do stuff;
}
Is the number of the current page exposed somewhere? (like in the html?)

Thanks a lot :)

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose