20
Views
6
Comments
Solved
Sigle select checkbox and update it in database
Question
Application Type
Reactive

 Checkbox1onchange action

I have to select only 1 checkbox as I am trying to make a quiz with single select option and multiple select options. For multiple select it works for checkbox but for single select it shows the selection that is only 1 option is selected but it doesn't update in the database. Please help me with how to update it the selected option in database. It has pagination as 1 question is displayed on each page and when go to the next page and come back the selection is gone.


Screenshot 2024-04-18 185359.png
Quiz1_Modified_V2_18apr.oml
2024-04-05 11-04-57
Krishnnambal
 
MVP
Solution

Hi,

I have updated the logic and I could see the score getting updated in the Result entity. Please check. 

In addition to the above,

1. I set the page expiry time to 5 minutes from the time of login.

2. As soon as the user clicks on save in the loginform screen, he/she will be redirected to the questionnaire screen.

Quiz1_Modified_V3.oml
UserImage.jpg
Anshal Anwesh

Thanks a lot @Krishnnambal S.  and also for the extra features. 

2024-04-05 11-04-57
Krishnnambal
 
MVP

Hi Anshal,

Is it possible for you to share the OML?

UserImage.jpg
Anshal Anwesh

Yes Sure

UserImage.jpg
Anshal Anwesh

Checkbox1onchange action inside the block

UserImage.jpg
Anshal Anwesh

@Krishnnambal S
It is uploaded in the main question Post

2024-04-05 11-04-57
Krishnnambal
 
MVP
Solution

Hi,

I have updated the logic and I could see the score getting updated in the Result entity. Please check. 

In addition to the above,

1. I set the page expiry time to 5 minutes from the time of login.

2. As soon as the user clicks on save in the loginform screen, he/she will be redirected to the questionnaire screen.

Quiz1_Modified_V3.oml
UserImage.jpg
Anshal Anwesh

Thanks a lot @Krishnnambal S.  and also for the extra features. 

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