@uio-appu/nettskjema-utils
v0.2.2
Published
Utility functions for webapps integrating with Nettskjema
Downloads
13
Readme
Nettskjema utils
Utility functions for webapps integrating with Nettskjema.
Quick start
import { createSubmissionAndPost } from '@uio-appu/nettskjema-utils';
createSubmissionAndPost(formId, {
question1: 'Answer 1',
question2: 'Answer 2'
})
.then(() => console.log('Submission delivered'))
.catch((error) => console.error(error.message));