Created
February 25, 2021 18:49
-
-
Save scottwater/4e40806d1acfb904a42cddc1e70543b5 to your computer and use it in GitHub Desktop.
For those who cannot use standard input types. We recommend using type=email and type=tel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.kolOptions = { | |
form: { | |
mappings: { | |
email: { | |
selector: "input[name='you_custom_selector']" | |
} | |
} | |
} | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.kolOptions = { | |
form: { | |
mappings: { | |
email: { | |
selector: "input[name='you_custom_selector']" | |
}, | |
phone: { | |
selector: "input[name='you_custom_selector']" | |
} | |
} | |
} | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.kolOptions = { | |
form: { | |
mappings: { | |
phone: { | |
selector: "input[name='you_custom_selector']" | |
} | |
} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment