Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

textarea issues: width, max length, alignment #477

Open
TobiFr opened this issue Jan 3, 2022 · 0 comments
Open

textarea issues: width, max length, alignment #477

TobiFr opened this issue Jan 3, 2022 · 0 comments

Comments

@TobiFr
Copy link

TobiFr commented Jan 3, 2022

I plan to conduct a sort of diary study where people write longer texts. Therefore, I would like to have textarea items where the width of the textarea spans the whole display width.

Issue A) textarea width
In the survey spreadsheet guide it says that the optional class "right100, (200, ...,900)" controls the width of the right-hand column (answers). It says that there's no default and that the right-hand column will extend in accordance with the display width.
However, unfortunately this is not the case. If I don't specificy the width of the textarea item via "right900", the textarea defaults to a certain width that is fixed when I test the survey.
When I specify the width with "right900" and test the survey (outside of a run), then it is a) larger and b) I can dragpull the textfield with my mouse so that it becomes wider and longer. However, this does not work when I test the survey in a run - here, the width is fixed again.

Is this supposed to be this way? Is there any way that the textarea will span the whole display width?

Issue B) textarea max length
I specified a max length for my textarea items, yet this does not seem to work - when I test the survey, I can enter as much text as I want.

Issue C) answer_align_right
When I asign the command "answer_align_right" (or "answer_align_center") to my textarea item, it does not seem to work - it is still aligned to the left.

Are there any solutions to these problems?

Apart from that, would it be possible to include a character count feature for text areas that tell people how many characters they have already written and the maximum amount of characters? (e.g. "0/8000" when nothing has been entered into the textarea).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant