Scenario - I have a quiz Question Page And In right hand side i have questions Panel displaying the number of questions condition is submit button should only appear on the last question

Condition is submit button should only appear on last question Attributes which i am using is Quiz and Question Attributes where i am retreiving the questioncount from questioncount attribute which is in Question entity and i have also created non persistable entity submitquiz visibility where i have an attribute name is isLAstQuestion attribute do i need to create microflow for this ?
1 answers

How you approach it depends on how you show the questions, what data you have available in which context and if you maintain the order of questions.

If you have the boolean isLastQuestion, you should set this value when finalizing a Quiz. This is either when you commit the Quiz and Questions, or when you open this page. Then you can show the button with conditional visibility based on that attribute.


If you can share a screenshot of the page in Studio Pro as well, we can see what data is in which context.