# bit-form/-3.0.1/assets/checkMinMaxOptions.min.js

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

- Page: https://pluginprobe.com/plugins/bit-form/-3.0.1/code/assets/checkMinMaxOptions.min.js
- Raw: https://pluginprobe.com/plugins/bit-form/-3.0.1/raw/assets/checkMinMaxOptions.min.js
- Modified: 2023-07-16T07:55:48+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.0.1/code/assets/checkMinMaxOptions.min.js#L10-L20`.

```javascript
var checkMinMaxOptions=function(){"use strict";return function(t,e,n=","){const c=Array.isArray(t)?t:(t||"").split(n),r=Number(e.mn)||0;let i=Number(e.mx);return"check"!==e.typ||i?"select"!==e.typ||i||(i=c.length):i=e.opt.length,c.length<r?"mn":c.length>i?"mx":"check"===e.typ?checkFldValidation(t,e):""}}();

```
