Disable HTLM spellcheck in text answers

More
3 weeks 1 day ago #185995 by Hermel
Is it possible to tell Limesurvey to set the spellcheck attribute for forms (e.g. long free answer) to false?


Thank you!

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
3 weeks 1 day ago - 3 weeks 1 day ago #185996 by tpartner
LimeSurvey does not impose a spellcheck attribute but if you want to force it to false, two options:

1) Create a custom question theme and edit the <textarea> tag in answer.twig.

2) Extend your theme and add this to the end of custom.js:

$(document).on('ready pjax:scriptcomplete',function(){
 
	$('input:text.form-control, textarea.form-control').attr('spellcheck', false);
});

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Last edit: 3 weeks 1 day ago by tpartner.
The following user(s) said Thank You: Hermel

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!