1.0.26 • Published 5 years ago

tripetto-collector-standard-bootstrap v1.0.26

Weekly downloads
34
License
MIT
Repository
gitlab
Last release
5 years ago

Tripetto

Tripetto is a full-fledged form kit. Rapidly create and deploy smart flowing forms and surveys. Drop the kit in your codebase and use all of it, or just the parts you need. The visual editor is for form creation, the collector for response collection and the SDK for developing more form building blocks. Does this sound too technical? Try the app!

Standard Bootstrap collector

Version License Downloads Pipeline status Join the community on Spectrum Follow us on Twitter

This collector package is a graphical UI for Tripetto that implements a classic representation of a form using Bootstrap and React.

Demo

Try demo on CodePen View the code

Get started

There a multiple options how you can use this collector. From plain old HTML to React or using imports.

Option A: Embed in HTML using CDN

<script src="https://unpkg.com/tripetto-collector"></script>
<script src="https://unpkg.com/tripetto-collector-standard-bootstrap"></script>
<script>
TripettoCollectorStandardBootstrap.run({
    element: document.body,
    definition: /** Supply a form definition here. */,
    onFinish: function(instance) {
        /** Implement your response handler here. */
    }
});
</script>

Try demo on CodePen

Option B: Using React

  1. Install the required packages from npm:
$ npm install tripetto-collector
$ npm install tripetto-collector-standard-bootstrap
  1. Use the React component:
import { Collector } from "tripetto-collector-standard-bootstrap";

ReactDOM.render(
  <Collector
    definition={/** Supply a form definition here. */}
    onFinish={(instance: Collector.Instance) => {
      /** Implement your response handler here. */
    }}
    />,
  document.getElementById("root")
);

View the code

Option C: Import from npm

  1. Install the required packages from npm:
$ npm install tripetto-collector
$ npm install tripetto-collector-standard-bootstrap
  1. Import the rolling collector:
import * as Collector from "tripetto-collector";
import * as CollectorStandardBootstrap from "tripetto-collector-standard-bootstrap";

CollectorStandardBootstrap.run({
    element: document.body,
    definition: /** Supply a form definition here. */,
    onFinish: (instance: Collector.Instance) => {
        /** Implement your response handler here. */
    }
});

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.

1.0.26-5

5 years ago

1.0.26

5 years ago

1.0.26-4

5 years ago

1.0.26-3

5 years ago

1.0.26-2

5 years ago

1.0.26-1

5 years ago

1.0.25

5 years ago

1.0.24

5 years ago

1.0.23

5 years ago

1.0.22

5 years ago

1.0.21

5 years ago

1.0.20

5 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago