Knowledge Base
Browse All Topics

Category: Form Defender

Advanced integration settings

Last Update: 17.01.2019

 

Note: Before reading this content, make sure you have read our Form Defender Integration article.

There are some additional options available which can improve your experience with our widget. All you need is to simply replace the Form Defender Integration code with the following script: All you need is just modify your script code as following:

<script>
  const _CEDefenderSettings = {
    application: 'API_Key',
    closeAfter: 3, // default 3 (seconds),
    language: 'en' // default en-US
    sandbox: false, // default false
    width: 260, // default: 260, min: 260 (pixels),
  };
</script>
<script src="https://correct.email/form-defender-1.0.min.js"></script>

Options description

Property nameDescriptionAvailable Options
closeAfter(default - 3s) - delay of auto closing frame after validation process.Numbers > 0
language(default - English (en)) - display messages in appropriate language.‘en’, ‘de’
width(default - 260px) - Form Defender frame widthNumber >= 260