How to nest a questdlg?
3 views (last 30 days)
Show older comments
Is there any way to nest a questdlg within a questdlg? Basically after I ask the user a question and they select an answer, I want the user to be asked another question basd on the answer they give.
0 Comments
Answers (1)
Walter Roberson
on 1 May 2020
No there is no nesting available for that. You need to get the results and ask another question.
You might want to code it as a pair of radio buttons, with the callback for pushing one being to activate (make visible) the second question. Or if the second question has the same general structure no matter what choice you made for the first question then the callback on the radio button could change the text on the second pair of radio buttons.
0 Comments
See Also
Categories
Find more on Dialog Boxes in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!