I have 4 separate html files for our website, I am using google app script as our database. We only need to do the storing as the minimum requirement of our subject. However, the only form section it stores from our input is the last section. For reference here are some of the lines for each html files I think is making this error.
<form id="myForm" action="educational-bg.html" method="POST" action="https://script.google.com/macros/s/AKfycbwrnSznyFucFC6xzIoBISqO12KXO1eQnxjaZuQuA_jlv2pffW1bLxUFL8lbIYNkXJml/exec">
<form id="myForm" action="family-info.html" method="POST" action="https://script.google.com/macros/s/AKfycbzOMgG_hado21-RXHNg_BZitcRiOr11Pu-gXVApbpqo/dev">
<form id="myForm" action="health-info.html" method="POST" action="https://script.google.com/macros/s/AKfycbwrnSznyFucFC6xzIoBISqO12KXO1eQnxjaZuQuA_jlv2pffW1bLxUFL8lbIYNkXJml/exec">
<form id="myForm" action="interest-hobby-info.html" method="POST" action="https://script.google.com/macros/s/AKfycbwrnSznyFucFC6xzIoBISqO12KXO1eQnxjaZuQuA_jlv2pffW1bLxUFL8lbIYNkXJml/exec">
<form id="myForm" method="POST" action="https://script.google.com/macros/s/AKfycbwrnSznyFucFC6xzIoBISqO12KXO1eQnxjaZuQuA_jlv2pffW1bLxUFL8lbIYNkXJml/exec">
I know two action tags are causing an error but there are several times it works with and without it. When I remove the tag from the first html it only stores and displays the success message instantly not proceeding to the next section. There are also times that it only stores the middle section/html. How to fix this