anti spam field in form

后端 未结 2 1898
-上瘾入骨i
-上瘾入骨i 2021-01-28 18:57

i am using vtiger and recieveing alot of spam on the website contact page i am using this code

        
2条回答
  •  盖世英雄少女心
    2021-01-28 19:09

    Add an extra field to the form that you do not use. Hide it with css.

    Spam bots visiting the page will fill all fields, even if they are not shown.

    If there's something in the hidden field, the whole form is spam, and you can discard the data.

提交回复
热议问题