Skip to content
Snippets Groups Projects
Commit eaeda4d1 authored by Simon Mitternacht's avatar Simon Mitternacht
Browse files

Legg til felt c_isOrganization.

parent 2c5e1e73
No related branches found
No related tags found
No related merge requests found
......@@ -637,8 +637,10 @@
if (isPrivate) {
data.c_name = $('#c_firstname').value + ' ' + $('#c_lastname');
data.c_isOrganization = 0;
} else {
data.c_name = $('#c_orgname').value;
data.c_isOrganization = 1;
}
data.c_email = document.getElementById( 'c_email' ).value;
......@@ -653,6 +655,8 @@
data.c_extvatID = document.getElementById( 'c_extvatID' ).value;
data.c_comment = document.getElementById( 'c_comment' ).value;
data.c_deliveryOption = document.getElementById( 'c_deliveryOption' ).value;
console.log(data);
});
window.ParsleyValidator.setLocale('no');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment