You are viewing limited content. For full access, please sign in.

Question

Question

Turn off spell check

asked on January 2, 2018

Is it possible to prevent spell checking on individual fields?
I believe the spell checker is actually a function of the browser being used but if possible we would like to turn if off for specific fields.

Thanks  ~ Andrew

0 0

Answer

SELECTED ANSWER
replied on January 2, 2018

Hi Andrew, 

You are right that the spell checker has to do with the browser rather than with Laserfiche Forms. For certain field types e.g. single line or email, you can set a spellcheck attribute like this:

$(document).ready(function() {

 $('#q1 input').attr({
        "spellcheck" : "false",
        "autocorrect" : "off"
    }); 

});

You can also try setting attributes such as autocomplete="off" and autocapitalize="off" in the above example, particularly for mobile. Bear in mind that the functionality of each of these depends on the browser being used. For more information about spellcheck, see MDN Web docs.

2 0
replied on January 2, 2018

Thanks for the info and link Karina.  Most helpful.   We were really hoping to get it to work for a multi-line entry.   Thus far it's working only on single lines as you pointed out.  Will have to read around some more and perhaps try a different browser flavor.

Tranks wink Again

0 0
replied on January 2, 2018

Ah! In that case, for a multi-line field you would use textarea in place of input as shown below:

$('#q1 textarea').attr({

Happy to help!

3 0

Replies

replied on January 2, 2018

Hi Andrew,

 

I would think this is a browser setting rather than something that can be setup or changed in Laserfiche Forms. I think the short answer is it's either on or off.

 

crying

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.