New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Forms - submitting information


Post Reply New Thread Subscribe

 
Thread Tools
cmass

 
Member Since: Oct 28, 2008
Posts: 6
cmass is on a distinguished road

cmass is offline
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!!
QUOTE Thanks
scathe

 
scathe's Avatar
 
Member Since: Jan 12, 2009
Location: Prague, Czech Republic
Posts: 1,096
scathe is a jewel in the roughscathe is a jewel in the rough
Mac Specs: 2,4Ghz 15" unibody

scathe is offline
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)
QUOTE Thanks
appleme

 
Member Since: Aug 28, 2009
Posts: 30
appleme is an unknown at this point

appleme is offline
forget saving it try emailing it
<form>
<input type="text"></input>
<input value='send' type="submit" onsubmit="mailto:youremail@example.com"></input>
</form>
QUOTE Thanks

Post Reply New Thread Subscribe


« So I'm Building a WebPage | I have two problems in iWeb »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Mac-Forums Switchers FAQ and Information eric Switcher Hangout 57 03-18-2010 08:25 AM
Recording information problem with iTunes 8.0.1 schwine Music, Audio, and Podcasting 0 11-25-2008 11:56 AM
How macs and pcs gather their information for commercial cds dylanfowler1 Music, Audio, and Podcasting 1 05-23-2008 04:06 PM
Forms in Acrobat Alexis OS X - Apps and Games 4 10-18-2007 07:25 AM
Tax return forms chopped off when printing... wax32 Switcher Hangout 4 10-15-2006 05:27 PM

All times are GMT -4. The time now is 08:50 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?