Forms functionality

Can somebody please explain how forms work? I know how to create and style to what I want, but where are they submitted to? I googled and youtube and they mention "php", but they I haven't found anything explaining where forms submit to. Like if your have a contact form, and they put the basics, name, phone, email, where does that go? and how or where does the company whos website it is get that information, does it get emailed or texted to them to call the clients? please explain and thank you.
2 Replies
Squeemeister
Squeemeister8mo ago
Super simple explanation: Just like a physical letter, a form needs something to "handle" it. HTML can't really do that alone, so backend scripts are used primarily. Long long ago, in a web far away... Your basic contact form would send an email to a specified address using the "mailto" feature, but it had/has several drawbacks. Learn more: https://html.form.guide/email-form/email-form-mailto/ That practice fell by the wayside and "mail scripts" came into use. You can write your own, download pre-written scripts to modify, or I think there are even services online you can pay for that will "handle" your forms. Learn more: https://html.form.guide/form-mail/form-mail-script/
octavia0914
octavia09148mo ago
Thank you
Want results from more Discord servers?
Add your server