Online Program/Open Ended Quiz Question Response box issue

when I create a quiz question that is an OPEN ENDED QUESTION, the answer box is very small and when the user types a long response, the text scrolls to the right. Obviously, it should expand the box downward in a log response, like any other form I’ve ever seen.
The help chat person recommended I talk to some of the people who can CODE to make this change. Any ideas? I am not a coder I am loving WIX, but this is a deal breaker for my use case (and anyone considering this as a serious LMS)

Hi, @Doug_Farrar !!

Is the standard text box in Wix not sufficient for your needs? Wix offers around three types of text boxes. If you’re looking to add a multi-line input text box to a page (instead of a single-line text input box), you can do this and adjust the height slightly in advance to accommodate. However, if you want a text box where the height adjusts dynamically based on the number of characters—like a social media post input box—you would need to create a custom element.

You could likely use a div element with the contenteditable attribute to achieve this. However, when implementing such a feature, you need to be cautious about security. It’s dangerous to directly embed user input into the div element, so sanitizing the input is necessary to prevent potential security risks.

You could ask ChatGPT or other sources for assistance to refine this further—ask whether your code is secure enough. Once your custom element code is complete, refer to Wix’s documentation on custom elements and try implementing it.

A key point to remember is that you’ll need a process to send the input data from the custom element to the page code, and the page code will also need a way to receive that data. :grin:

Thank you so much for your response! Your answer gives me hope. Would this solution work within the “Wix Online Programs” app? Within this app is where I am having the issue. It’s an online course where the student must answer with multiple paragraphs, but the “open ended” question type only provides a small box that scrolls to the right

Hi, @Doug_Farrar !!

It may be difficult to make customizations within pre-built programs that Wix has prepared in advance, such as Wix online programs. However, submitting a feature request to Wix could increase the chances of it being implemented in the future. The feature itself doesn’t seem particularly complex, so there is a good possibility that it could be added. That being said, let’s first double-check whether the feature (multi-line input) already exists. :smiley:

https://support.wix.com/en/roadmap