- This topic has 13 replies, 2 voices, and was last updated 5 years, 4 months ago by
Support. This post has been viewed 1535 times
-
AuthorPosts
-
February 23, 2021 at 12:31 am #10036357
MoiraAllen
ParticipantHi Rodrigo –
I used the code your paste bin code but the form still did not work.
https://pastebin.com/raw/JML0MNbf
I changed the name to “1” and uploaded it: https://harvesthouseatlantic.org/1volunteer-application
So I have continued to work on the page and changed the list of volunteer items to check boxes like you had suggested. People need to be able to select more than one item. But unfortunately the form is still not working.
https://harvesthouseatlantic.org/volunteer-application
I cannot figure out why this is not working. Thank you so much for your help. Moira
February 23, 2021 at 6:27 am #10036368Support
KeymasterHello Moira,
Please use this entire HTML for your page:
https://pastebin.com/raw/hiH6H9tuWhat I did:
– Get the entire source code from https://harvesthouseatlantic.org/1volunteer-application and changed the input radios to checkboxes.Please try that and let us know if you need further assistance.
Kind Regards,
Rodrigo.
If you are satisfied with EZY HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads
February 24, 2021 at 12:33 am #10036386MoiraAllen
ParticipantThis reply has been marked as private.February 24, 2021 at 12:38 am #10036388Support
KeymasterThis reply has been marked as private.February 24, 2021 at 1:08 am #10036390MoiraAllen
ParticipantThis reply has been marked as private.February 24, 2021 at 6:15 am #10036399Support
KeymasterHello Moira,
Thanks for the access!
Did you received the test message we sent trough the contact form ?

The problem was wrong and duplicated PHP file name. I changed from:
<form class="contact-form" action="php/volunteer-application-form.php" method="POST"> <form class="contact-form" action="php/volunteer-application-form.php" method="POST">
To:
<form class="contact-form" action="php/volunteer-application.php" method="POST">
Hope this helps!
Kind Regards,
Rodrigo.
If you are satisfied with EZY HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads
February 24, 2021 at 6:19 am #10036400MoiraAllen
ParticipantThis reply has been marked as private.February 24, 2021 at 6:46 am #10036405Support
KeymasterHello Moira,
Great!
If you need further assistance feel free to contact us.
Kind Regards,
Rodrigo.
If you are satisfied with EZY HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads
February 24, 2021 at 6:53 am #10036406MoiraAllen
ParticipantThis reply has been marked as private.February 24, 2021 at 11:51 pm #10036414Support
KeymasterHello Moira,
First please keep all the checkboxes inputs with the same
name="xx"attribute. Make sure to change only the type=”checkbox” inputs (not the radios).Regarding only one field of checkbox being send in the message:
Did some tests here and at really the JS code of contact form is not ready to get the checkboxes in a automatic way, sorry for that. To fix that, please change the “Fields Data” code atview.contact.jsfile to:// Fields Data var formData = $form.serializeArray(), data = {}, multiValues = [], ftFlag = false; $(formData).each(function(index, obj){ if( typeof data[obj.name] !== 'undefined' ) { if( ftFlag == false ) { multiValues.push(formData[index - 1].value); ftFlag = true; } multiValues.push(obj.value); data[obj.name] = multiValues; } else { data[obj.name] = obj.value; } });Please try that and let us know if you need further assistance.
Kind Regards,
Rodrigo.
February 25, 2021 at 12:47 am #10036425MoiraAllen
ParticipantThis reply has been marked as private.February 25, 2021 at 1:07 am #10036428Support
KeymasterHello Moira,
I did a new test here with my cache cleared and seems to be working. Can you confirm if you received my test with multiple checkbox values in the message ?
Please try to clear your browser cache and test again.
Hope this helps!
Kind Regards,
Rodrigo.
If you are satisfied with EZY HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads
February 25, 2021 at 2:49 am #10036434MoiraAllen
ParticipantTHANK YOU! It’s working now. You’re support is amazing 🙂
Moira
February 25, 2021 at 6:22 am #10036441Support
KeymasterHello Moira,
Great the issue is resolved! 🙂
If you need further assistance feel free to contact us.
Kind Regards,
Rodrigo.
If you are satisfied with EZY HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads
-
AuthorPosts
This topic is marked as "RESOLVED" and can not rceive new replies.