Skip to content

show_if variation #98

Closed Answered by pingfan-hu
willking98 asked this question in Q&A
Sep 24, 2024 · 9 comments · 3 replies
Discussion options

You must be logged in to vote

Hi @willking98 , I've solved your problem. You can see the screenshot here:

This is done by defining the direction parameter as "vertical" in mc_buttons. This parameter is available for both mc_buttons and mc_multiple_buttons, default to "horizontal".

For your convenience, I've modified all your mc_buttons questions to have vertical alignment:
demo-choice-based-conjoint-modified.zip

Another parameter is called "width". You can define it as "400px" or "80%" so that you can control the width of the question container, which then affects the box length. The texts will automatically wrap if they are too long, like this:

Please update our package and try it:

remotes::install_github("surveydo…

Replies: 9 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@willking98
Comment options

Comment options

You must be logged in to vote
1 reply
@willking98
Comment options

Comment options

You must be logged in to vote
1 reply
@willking98
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by pingfan-hu
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
3 participants