Hello to all. I design a number of questions. Put a score for each answer that the clients get points for by choosing each answer, By pressing the next button, go to the next question, and at the end, it will calculate the total points and tell the user that your score is this.we designed next button BUT how design PERV button to check PER QUESTION and his/her answer??
Hi @Emir nak ,
I have attached the OML. Please check if it work with your requirement.
Thanks
Hi Emir,
Are you storing questions answer anywhere when you go next on clicking of next button?
Regards,
Arun
NO I DONT.just save score of each question to show total score at the end
Hi
Then store questions answer in local list so if you go back by privious button so you can fetch that page list from the local list.
You are required to introduce an additional column named "AnswerOrderBy" within your response table. This column will serve the purpose of storing integer values. For instance, as a user initiates a test and proceeds to answer the initial question, the corresponding record will be stored in the database with the "AnswerOrderBy" value set to 1. Subsequently, for each successive question answered, the "AnswerOrderBy" value will increment accordingly (e.g., 2 for the second question, 3 for the third question, and so on).
To implement the functionality of the "Previous" button, you will need to establish an action. Within this action, the current "AnswerOrderBy" value will be passed. In the process, the value of "AnswerOrderBy" will be reduced by 1. This adjusted value will then be employed to filter and retrieve the relevant question from the "ans" table based on the associated unique identifier. Subsequently, this retrieved question will be displayed as the previous question.
As the sequence of "AnswerOrderBy" values progresses, and upon reaching a value of 1, the "Previous" button will be concealed, as there would be no preceding question to display at that point.
do you mind if i ask you to send oml file for me?
yes plz share the OML
Hi Emir ,
Please share an OML of your problem so that I can analyze it and then only I can give you a perfect solution for the problems.
Thanks & Regards,
Sudip Pal
hi tnx bro
Hey Emir,
I am sharing the OML where I have perform the task that you have implemented.Take look and use the approach.
Hope it will help you
Did my solution work for you? Is this the requirement that you want to build?
Thanks,