would it be possible to place more info button or any icon that will trigger modal to pop up on choices?
Thank you!
would it be possible to place more info button or any icon that will trigger modal to pop up on choices?
Thank you!
Hello Moose,
Thank you for the clarification.
You can actually render a button which activates a popup for Checkbox items in the same way it's demonstrated by the Custom Render of Survey Elements demo. The main idea is to handle the onAfterRenderQuestion
function, obtain the DOM element which renders a checkbox item and append a new button HTML element.
Another option is to implement a custom widget, similar to pretty-checkbox.js and add a button which activates the popup.
For the record: we are currently working on Angular rendering for Survey Creator V2. This would allow customers to implement custom rendering for survey elements, and Radiogroup/Checkbox items too with less coding.
I hope this information will be of value.
Please feel free to contact us if you have follow-up questions.
Thank you,
Jane
SurveyJS Team
Hello,
What JavaScript framework do you use? There are different solutions based on your framework.
Thank you,
Andrew
SurveyJS Team
Hello,
Angular/Typescript
Do you need it for SurveyJS Library only or do you need it to show in Creator (Preview) as well?
Thank you,
Andrew
SurveyJS Team
preferably both!