# bit-form/3.1.1/assets/initAddOtherOpt.min.js

Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator &amp; Custom Form Builder, version 3.1.1. 2 lines.

- Page: https://pluginprobe.com/plugins/bit-form/3.1.1/code/assets/initAddOtherOpt.min.js
- Raw: https://pluginprobe.com/plugins/bit-form/3.1.1/raw/assets/initAddOtherOpt.min.js
- Modified: 2026-04-21T11:19:24+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/bit-form/3.1.1/code/assets/initAddOtherOpt.min.js#L10-L20`.

```javascript
var initAddOtherOpt=function(){"use strict";return function(e=null){(e?[e]:Object.keys(bf_globals)).forEach((e=>{bfSelect(`#form-${e}`).querySelectorAll("input[data-bf-other-inp]").forEach((e=>{e.addEventListener("keyup",(t=>{t.target.parentNode.parentNode.querySelector("input").value=e.value,t.target.parentNode.parentNode.querySelector("input").dispatchEvent(new Event("input"))}))}))}))}}();

```
