Forms - submitting information

Joined
Oct 28, 2008
Messages
6
Reaction score
0
Points
1
Basically what I want to do is set up a form in html that when the user clicks the submit button, all of the information is saved in a file to a folder on my computer. I've set up the folder to be accessed by the web, but not sure how to save the information to that folder. Please let me know if further description is needed. Thanks!!
 
Joined
Jan 12, 2009
Messages
1,096
Reaction score
19
Points
38
Location
Prague, Czech Republic
Your Mac's Specs
2,4Ghz 15" unibody
you can use javascrip to write anythng to a simple file, have a look at this link:
How to read and write files in JavaScript

just a random search, but it covers the idea of writing to a file with JS

then you just need a listener for your button, preferably added with a script, or just use the onsubmit="" option

(I should add since it's not a mac specific issue, you might want to post on some web page/html forum :) you would definitely get more hits)
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top