Hi, in case you're having trouble finding the integration code, take a look at this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-N2qK2O2QlW4.html
@@sauravdev1464 Hey bro please can you help me I wana contact a site which use java script for mail I don’t know how it works my intimate video call was uploaded by someone on that site please help me bro I want to contact that site
I am unable to add a phone I tried putting {{phone}} in my template and using the same javascript I did for the name but it never sends me the phone from the contact form. Does anyone know how to do this?
So this tutorial works great, but I'm having an issue where it doesn't work when my text area and inputs are in a form tag. Is there a way around this, or does this really only work without the form tag?
late, but button in the form makes automatic submit of the form. You may instead of the onclick in html do the button servicing in the js with AddEventListener and then use the preventDefault() function to block the automatic behaviour
If you mean to change the "to_name" field (which is just a name, has nothing to do with an email), you can add a "to_name" field to the "params" variable object and follow the example of the other fields and do it exactly like that If you want to send the mail itself to someone else, not sure how or if you can do that
In that "params" object, just follow how the other fields work and add "to_name". Do a document.getElementById on your name input (make sure it has the same ID) and it should work.
@@tatespeech1100 still not working. it still sends. Maybe something with the btn onclick? is there a way to freeze it until every required input is filled? Thanks BTW
@@ohthestupidity I think "required" would only work if you use proper submit. In original question I would simply check if all fields are !="". Although with required maybe you can manually check validation?! Just googled something. If you put all in form then maybe form.checkValidity would be enough