0
0
0leg5ergeev2016-09-09 02:08:48
JavaScript
0leg5ergeev, 2016-09-09 02:08:48

How to make a data collection form?

I launched node for the first time, I liked it, I added a page, but I can’t find the answer in Google - how to make a form that will collect data from the field and write it to csv and send the data to email?
Is it possible without php?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yustas Alexu, 2016-09-09
@Yuxus

  1. The layout of the form for the nodejs server is no different from the form for php, it's stupid html.
  2. The formation of csv from this data should take place already on the server. You can (and should) use a ready-made package from npm. We are looking for the word "csv generate".
  3. Sending email is also a package from npm. For example, the simplest sendmail

I
Ivan, 2016-09-09
@LiguidCool

PHP is not needed for a node at all - in fact it is an alternative to Apache + PHP.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question