From 0602e07d5d35c5fc513f54b63dbca30631cf8da3 Mon Sep 17 00:00:00 2001 From: SaliyaBandara Date: Wed, 10 Jan 2024 00:26:17 +0530 Subject: [PATCH 1/3] --- revol_form/register.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/revol_form/register.html b/revol_form/register.html index 7c8f01d..b2d9af4 100644 --- a/revol_form/register.html +++ b/revol_form/register.html @@ -320,7 +320,7 @@
One team should comprise of a minimum of 3 members a - + \ No newline at end of file From 807e6c268832b81cc9e35d74340099ef6a0e1bc0 Mon Sep 17 00:00:00 2001 From: SaliyaBandara Date: Wed, 10 Jan 2024 13:06:28 +0530 Subject: [PATCH 2/3] Fixed dropdown --- revol_form/register.html | 3 +-- revol_form/script.js | 16 +++++++--------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/revol_form/register.html b/revol_form/register.html index b2d9af4..7741886 100644 --- a/revol_form/register.html +++ b/revol_form/register.html @@ -93,7 +93,6 @@
One team should comprise of a minimum of 3 members a -
diff --git a/revol_form/script.js b/revol_form/script.js index d55c9df..2b994a9 100644 --- a/revol_form/script.js +++ b/revol_form/script.js @@ -1,16 +1,14 @@ const select = document.getElementById('select'); - -select.addEventListener('change', function () { - for (let otherDiv of document.querySelectorAll('#default div')) { - otherDiv.style.display = 'none'; - } - - const div = document.getElementById(this.value); - div.style.display = 'block'; +$(document).ready(function () { + $("#select").change(function () { + if ($(this).val() == "3") + $(".member-4").slideUp(); + else + $(".member-4").slideDown(); + }); }); - function validateInput(value, errorMessage) { var alertdiv = document.getElementById("alert-div"); From b14d6ad4767924e9198361d701f347869a28d07c Mon Sep 17 00:00:00 2001 From: SaliyaBandara Date: Wed, 10 Jan 2024 14:19:35 +0530 Subject: [PATCH 3/3] hide workshop registration --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index bc4cccb..c5ee44c 100644 --- a/index.html +++ b/index.html @@ -107,7 +107,8 @@

- + +