surveyjs / survey-library

Free JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout.
https://surveyjs.io/form-library
MIT License
4.12k stars 802 forks source link

does radiogroup and checkbox can add textbox after each options #1639

Open AlaxJiang opened 5 years ago

AlaxJiang commented 5 years ago

Are you requesting a feature, reporting a bug or asking a question?

feature

What is the current behavior?

we can only use hasother property to allow the end user to enter message.

What is the expected behavior?

we can setting for all option to display a textbox after the option.

How would you reproduce the current behavior (if this is a bug)?

do you have any suggestion? thanks

Provide the test code and the tested page URL (if applicable)

Tested page URL:

Test code

your_code_here

Specify your

andrewtelnov commented 5 years ago

@JiangFei Unfortunately, we do not have this functinality out of the box. Could you please describe your scenario? Do you know any Survey Creator / Form Builder with this functionality, so we may take a look?

Thank you, Andrew

AlaxJiang commented 4 years ago

such as What is your income? A. below $1000 B. $1000~$3000 C. $3000~$5000 D. $5000~$8000 E. exceed $8000

when you selected A choice then there display a textbox the user should enter the exact income, the option E should do the same thing。the custome want to do this with one question. so would you please gave me some suggestion? thanks.

tsv2013 commented 4 years ago

We do not have such a functionality out-of-the-box You can try to create a custom widget extending the radiogroup question

IMO you can ask the exact income and then classify the entered amount.

RSwarnkar commented 3 years ago

I need this feature as well?


1. Basic
2. Advance
3. Intermediate```

And show a textbox why do you this this is?

https://surveyjs.answerdesk.io/ticket/details/t7351/display-textbox-within-radio-group