I need to write a js function to write the form information into a .txt
i will not use database in this project, i will use .txt files to control everything, products, person, employee , etc. All they will be at a .txt called control.txt with the information like this:
[person]name|email|date
[employee]name|department
So i need a function that writes the form information into my .txt archive.