<!DOCTYPE html> <html lang="ja"> <head> <script async src="https://xxxxx/liquidekyc.js"></script> <title>申込フォーム</title> </head> <body> <h1>新規申込</h1> <form id="applicant-form"> <div> <label for="last_name">姓</label> <input type="text" id="last_name" name="last_name" /> </div> <div> <label for="first_name">名</label> <input type="text" id="first_name" name="first_name" /> </div> ・・・ </form> <script> ・・・ function handleSubmit(e) { ・・・ const data = new FormData(applicantForm); const params = JSON.stringify(Object.fromEntries(data)); LIQUIDEKYC.startKYC(params) ・・・ } </script> </body> </html>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter