diff --git a/src/bocken/templates/journalentry_create.html b/src/bocken/templates/journalentry_create.html
index 3bb909f..c874880 100644
--- a/src/bocken/templates/journalentry_create.html
+++ b/src/bocken/templates/journalentry_create.html
@@ -112,6 +112,7 @@
{% translate 'Previous entries' %}
document.querySelector("#nr-kilometers").innerHTML = value;
}
document.getElementById("id_vehicle").addEventListener("change", getSpecificVehicleValue);
+ document.addEventListener("DOMContentLoaded", getSpecificVehicleValue);
function getSpecificVehicleValue(){
// fetch primary key based on selection in option-element
const v_id = document.getElementById("id_vehicle").value;