Auto complete.. | WordPress.org

Hi, my form is acting up.
It is a Norwegian GDP calculator website.

When i punch in 5 “studiepoeng” and Choose A in the first row (as shown in the linke below).
I get 5 “totale studiepoeng” and “snittkarakteren din” is 5 (A). Which is correct.

But when i enter 5 “studiepoeng” in the second row, the “snittkarakteren din”, goes down to 2,5 (C). but the second row “karakter” is blank. Why does it show 2,5? When really the second row should not impact the “snittkarakteren” din.

Heres a Link showing whats wrong:
https://ibb.co/B6LYKgv

Heres a link showing how it should look like:
https://ibb.co/3cGWy29

So summed up:
– when the students first enter their ECTS (studiepoeng) and than their grade in row 1 everything is ok. But immediately after they enter their second ECTS, WITHOUT entering their grade, the total GDP becomes wrong.

Is their something i am doing wrong?

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer