Skip to content

Commit

Permalink
use name instead
Browse files Browse the repository at this point in the history
  • Loading branch information
fzhao99 committed Mar 21, 2024
1 parent f192b27 commit 49d1772
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pages/forms/waitlist-form.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h1 class="font-heading-xl text-primary-darker">{{ page.title }}</h1>
Your facility or the Public Health Department you are representing
</span>
<input
class="usa-input"
class="usa-input form-input"
id="organization"
name="organization"
type="text"
Expand Down Expand Up @@ -137,9 +137,10 @@ <h3 class="usa-alert__heading">Error</h3>
fieldsToCheck.forEach(
(element) => {
if(element.type === "checkbox"){
data[element.id] = element.checked;
} else {
data[element.id] = element.value;
data[element.name] = element.checked;
}
else {
data[element.name] = element.value;
}
}
);
Expand Down

0 comments on commit 49d1772

Please sign in to comment.