Tripetto is a full-fledged form kit. Rapidly build and run smart flowing forms and surveys. Drop the kit in your codebase and use all of it or just the parts you need. The visual builder is for form building, and the runners are for running those forms in different UI variants. It is entirely extendible and customizable. Anyone can build their own building blocks (e.g., question types) or runner UI's.
Services package
The services package handles communications between the runner and the Tripetto Studio if you choose to host the form definition or collected data – or both – at Tripetto. It contains helpers for the implementation on your end of the form definition and collected data store at the Tripetto platform.
Get started
To use the library in your project you should install the Tripetto Services package as a dependency using the following command:
$ npm install tripetto-services --save
Example
The following example uses the tripetto-runner-autoscroll package for the runner and uses the services package to store form results in the Tripetto Studio.
import { run } from "tripetto-runner-autoscroll";
import Services from "tripetto-services";
const { definition, onSubmit } = Services.init({
token: "a-valid-tripetto-token"
});
run({
element: document.body,
definition,
onSubmit
});
Documentation
The complete Tripetto documentation can be found at docs.tripetto.com.
Support
Run into issues or bugs? Report them here and we'll look into them.
For general support contact us at support@tripetto.com. We're more than happy to assist you.
About us
If you want to learn more about Tripetto or contribute in any way, visit us at Tripetto.com.