Spaces:
Running
Running
File size: 535 Bytes
fe947ad 687ac73 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
<html>
<head>
<script src="https://unpkg.com/@flatfile/javascript@^0.3.1/dist/index.js"></script>
<script src="./blueprint.js"></script>
<script>
window.onload = function() {
FlatFileJavaScript.startFlatfile({
publishableKey: "pk_98a7c9bd2ab84a68a6575ae4e5ddd30c",
sheet: blueprint,
onSubmit: async ({ sheet }) => {
const data = await sheet.allData()
console.log('onSubmit', data)
},
spaceBody: {
namespace: "portal",
},
})
}
</script>
</head>
</html> |