How to manage submit button states on multiple choice multiple select question.
January 8, 2015 12:00 AM
Hello all,
I have use one multiple choice multiple select question with custom submit button.Submit button have two states one is Normal & second is Disable.I want default state for submit button is Disable & when user select Option (Select any check box) then Submit button state change into Normal state & when user deselect all option (deselect all check box) then submit button go to Disable state. How I can implement this functionality into lectora 12? It is possible to add triggers to manage this type of functionality?
Please guide me how to achieve this functionality in lectora (with the use available question type in test & survey)?
Discussion (6)
Hi,
this does not exactly what you asked for, since it does not go back to the initial inactive state if the user deselects all the options again, but it helps you maybe to get on the right track :)
1) Insert a button which has NO ACTION and has a greyed out image for example - call it btnInactive
2) Insert a button which has the test submission action and has a normal button image - call it btnActive
3) Go to the first choice checkbox and insert an action SELECT/CHANGE and hide btnInactive
Insert another action SELECT/CHANGE and show btnActive
Repeat adding those 2 actions also for all the other answer choices in your question
Hope that helps!
Best regards,
Martin
Have you tried to insert the actions directly to the choice buttons as in the image below? For me in Lectora 11.3 this action works fine. What exactly does not work? Have you checked if you have selected the proper buttons for the hide and show actions?
[ATTACH=CONFIG]628[/ATTACH]
Hi MartinK
Thanks for your reply.
But I already apply this triggers & it’s not Work for me.
Hi MartinK
I try given solution but this is not work for me.
I want below mention functionality.
When user selects any check box at the time submit button go to normal state,
And if user unselect all check boxes then submit button go to disable state.
Discussions have been disabled for this post