+ 1

how i can make a form witch can recive informations like customers phone number and then send a registery code by html,css,js...

html and css are not enough?

20th Jan 2021, 12:27 AM
AmirhosseinYazdani
AmirhosseinYazdani - avatar
4 Réponses
+ 5
You can create a form with just HTML and CSS, but just the form and nothing else. To actually handle the data, you will need a proper script. Here you have multiple options: JavaScript, PHP, Ruby, even Python.
20th Jan 2021, 12:35 AM
Mateusz Malenta
Mateusz Malenta - avatar
+ 3
اگه منظورت روی سرور یعنی یه نفر دیگه این کار رو بکنه و براش ارسال بشه باید از زبان های سمت سرور مثل php, node. js و... ولی اگر آفلاین و فقط خودت هستی می تونی از جاوا اسکریپت استفاده کنی ندیدم تو css و html بشه کاری کرد. تو جاوااسکریپت هم راه های مختلفی هست.
20th Jan 2021, 7:01 PM
Mehran
Mehran - avatar
+ 2
What you should try is PHP mailer, which you can modify and embed in your website form. Google it and you are done.
21st Jan 2021, 7:42 AM
Shoaib Jamal
Shoaib Jamal - avatar
+ 1
If you end up not wanting to write all the code to receive the data from the form, I would recommendation formspree, you just create an account and they provide you with a basic form that posts the info straight to their website where you can view it. Super easy to set up, just copy and paste after you create the acc. You can even add more form fields and style the form as much as you like!
20th Jan 2021, 6:30 AM
Austin Cuddeback
Austin Cuddeback - avatar