This is my first shinyapps and I am still a very early learner !
I am releasing an online survey on shinyapps.io and use a package called "idefix" to develop it. It's a quite recent but very well theoritically designed package that is of particular interest for my PhD research project. Here is an image of what the survey and UI looks like.
The idefix package uses statistical techniques to best chose the last 4 questions (on 12) of the survey. But the downside is that the last 4 questions are longer to display on the UI, and that might even be longer on a shinyapps.io server. And while the algorithm is choosing the best "choice set" (or options) to display to the respondant, the "Ok" button is still available and clickable!!! And if the respondant clicks on it, it jumps a question, with no answer gathered. Moreover, even during the 8 first questions (that are displayed instantly), the "Ok" button is also clickable if the respondant did not choose an answer!
So, I want to block the button from being clickable unless a selection between the 3 options is made.
I read about the req() function. Do you think it is the best way I have to "force" a selection between A, B and C, before the actionButton becomes clickable please? Or do you have any other suggestion?
Thanks for reading me