farhan 4 mesi fa
parent
commit
fa97073c97

+ 1
- 0
resources/views/modals/guestbook-modal.blade.php Vedi File

@@ -42,6 +42,7 @@
42 42
             data: formData,
43 43
             success: function(response) {
44 44
               $('#closeSpeechForm').submit();
45
+              $('#speechForm')[0].reset();
45 46
               var alertContainer = $('.alert-info');
46 47
               alertContainer.find('span').text(response.message); // Set message text
47 48
               alertContainer.fadeIn().removeClass('hidden'); // Show the alert

+ 1
- 0
resources/views/modals/rsvp-modal.blade.php Vedi File

@@ -48,6 +48,7 @@
48 48
           data: formData,
49 49
           success: function(response) {
50 50
             $('#closeRsvpForm').submit();
51
+            $('#rsvpForm')[0].reset();
51 52
             var alertContainer = $('.alert-info');
52 53
             alertContainer.find('span').text(response.message); // Set message text
53 54
             alertContainer.fadeIn().removeClass('hidden'); // Show the alert

Loading…
Annulla
Salva