Skip to content

Latest commit

 

History

History

submit-on-enter-example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Submit on Enter Example

How to set up this example

  1. Copy and Paste the content of the appropriate files into you application.

  2. Change link below to the latest VGS Collect library link. You can find it at VGS Collect page of VGS Dashboard

<script src="https://js.verygoodvault.com/vgs-collect/<version>/vgs-collect.js"></script>

Full list of available versions with release notes you can find in our Changelog.

  1. Change <vault-id> to your vault id to initialize your Collect form
const form = VGSCollect.create(
  "<vault-id>",
  "<environment>",
  function (state) {}
);
  1. Integrate with VGS creating inbound connection (or route) on VGS Dashboard and submit Collect form

Submit on Enter Example live view