Can the textarea field limit the number of characters that you can actually type into the field?
Best Answer
-
Raul_Noa Customer IT Monkey ✭The answer is yes. Modify the following file:
"\\webfrontendserver\inetpub\CiresonPortal\CustomSpace\SurveyApp\directives\survey\editQuestions.html"
with the following line:
<textarea md-maxlength="1024" rows="5" ng-required="!q.Optional" name="textarea{{$index}}" ng-model="q.Answer" maxlength="1024"></textarea>
The maxlength="1024" will actually limit the number of characters the user can enter into the textarea.
0
Answers
"\\webfrontendserver\inetpub\CiresonPortal\CustomSpace\SurveyApp\directives\survey\editQuestions.html"
with the following line:
<textarea md-maxlength="1024" rows="5" ng-required="!q.Optional" name="textarea{{$index}}" ng-model="q.Answer" maxlength="1024"></textarea>
The maxlength="1024" will actually limit the number of characters the user can enter into the textarea.
I don't think the 255 character limit applies to the survey app. All the questions and answers get stored in one big text field in JSON which has a max length of 25,600.
Geoff