51
Views
11
Comments
Solved
Place previous and next buttons in a question with 4 radiobutton answer

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??

2020-01-08 12-23-57
Jitender Gaur
Solution

Hi @Emir nak

I have attached the OML. Please check if it work with your requirement. 



Thanks

QuestionCalculator.oml
2025-02-10 17-24-13
Arun Rajput

Hi Emir,

Are you storing questions answer anywhere when you go next on clicking of next button?

Regards,

Arun

2023-07-31 13-51-59
Emir nak

NO I DONT.just save score of each question to show total score at the end

2025-02-10 17-24-13
Arun Rajput

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.

Thanks

2020-06-04 07-36-47
Ajay Dadhich

Hi Emir,

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.

Thanks

2023-07-31 13-51-59
Emir nak

do you mind if i ask you to send oml file for me?

2022-07-03 17-24-08
Sourabh sharma

yes plz share the OML 

2023-09-06 07-26-35
Sudip Pal

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

2023-07-31 13-51-59
Emir nak

hi tnx bro

QuestionCalculator.oml
2023-09-06 07-26-35
Sudip Pal

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


Thanks & Regards,

Sudip Pal

Question.oml
2023-09-06 07-26-35
Sudip Pal

Hi Emir,

Did my solution work for you? Is this the requirement that you want to build?

Thanks,

Sudip Pal

2020-01-08 12-23-57
Jitender Gaur
Solution

Hi @Emir nak

I have attached the OML. Please check if it work with your requirement. 



Thanks

QuestionCalculator.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.