[Ticket cloned from T1502]
When I set “Question error location” to “bottom”, the error is still shown on top in matrices.
[Ticket cloned from T1502]
When I set “Question error location” to “bottom”, the error is still shown on top in matrices.
We've implemented it via the https://github.com/surveyjs/surveyjs/commit/00d73570a7015f766a38895a109562c4b96486a6 It will be available in the next minor update.
Could you please tell what browser do you use? And do you use bootstrap version? If yes witch version of bootstrap do you use.
I've tried it locally with our default theme and it looks ok.
I've tried both Chrome and Firefox, so I don't think it's a browser issue. The screenshot above was taken using the online builder at https://surveyjs.io/Survey/Builder/ with no extra CSS or other frameworks.
Thank you for the clarification. I've fixed the inconsistency via the https://github.com/surveyjs/surveyjs/commit/adbd095a0fffd2a6f75439f06d1c707480c9f6bb . Fix will be available in the next minor update.
Hello!
As for BUG: Question error location doesn’t work for matrices: I can not reproduce it. I've created the example with the
survey.questionErrorLocation = "bottom";
and it works ok:and here the example: https://plnkr.co/edit/ZApJ8dz5NQVpc6KDjM3E?p=preview. Could you please tell what version of SurveyJS do you use (jquery, vue, react, knockout, angular) ?
I've included a screenshot to show the problem as well as the JSON code to reproduce it. The problem occurs when using a matrix with text input.
{ pages: [ { name: "page1", elements: [ { type: "text", name: "question1", validators: [ { type: "regex", text: "This error message is at the bottom", regex: "^[0-9]*$" } ] }, { type: "matrixdropdown", name: "question3", columns: [ { name: "Column 1", cellType: "text", validators: [ { type: "regex", text: "This error message is at the top", regex: "^[0-9]*$" } ] }, { name: "Column 2", cellType: "text" } ], rows: [ "Row 1", "Row 2" ] } ] } ], questionErrorLocation: "bottom" }