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));