Skip to content

Commit

Permalink
fixed bugs done condition system
Browse files Browse the repository at this point in the history
  • Loading branch information
SDClowen committed May 16, 2024
1 parent 9d664c7 commit b7f57fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/survey/participate.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
$this.html("");
data.forEach(element => $this.append(renderFormEntry(element)))
data.forEach(element => {
element.conditions.forEach(condition => $("[data-slug='" + condition.value + "']").hide())
})
})
</script>
<button class="bg-blue-600 px-5 m-auto rounded-md text-white py-2">Gönder</button>
Expand Down

0 comments on commit b7f57fd

Please sign in to comment.