Solved

Save text from an HTML form to a txt file that is read only

Posted on 2010-11-29
8
237 Views
Last Modified: 2012-05-10
I have searched online all day and without success. The company I work for wants to have a form load when anyone signs into a server. I have created a batch file that will run at startup and then open a browser which will pop up the form. However I cannot seem to find a way to get the form data to save to a file. Each time a user signs in this form either has to create a unique file, or add to an existing one. Once that is taken care of how do I get the file that was created by the form to read only so that no one can modify it?

I know a little about HTML and nothing about any other programming language. Any help would be greatly appreciated.
0
Comment
Question by:philtukey
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 34235545
HTML forms must be sent to a page that is written in a server programming language like ASP or PHP.  javascript is not allowed to write directly to files either.  You need to find someone who does know about programming.
0
 
LVL 82

Expert Comment

by:leakim971
ID: 34235603
0
 
LVL 19

Expert Comment

by:Bardobrave
ID: 34238035
If you build a simple ASP page that receives form's POST you can then write those data into a file using builtin FileSystemObject.

HTML is a notation language unable to do any type of file operation.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:philtukey
ID: 34239764
Sorry it took me so long to respond I went home for the night. I will look at the possible solutions today.
0
 
LVL 1

Author Comment

by:philtukey
ID: 34239864
So if you can't do it in HTML, or Javascript, then what programming language would you prefer?

Or would a program such as Access be better for this, or is there maybe another program that is out there that would do what we want?

Thanks,

Phil
0
 
LVL 82

Expert Comment

by:leakim971
ID: 34240923
Gerty a trial and test Microsoft Infopath
0
 
LVL 1

Accepted Solution

by:
philtukey earned 0 total points
ID: 34244204
We are looking at another solution for this project. I am working within Excel and UserForms to see if I can't get this to work. Thank you all for you input.
0
 
LVL 1

Author Closing Comment

by:philtukey
ID: 34276835
We are looking at another solution for this project. I am working within Excel and UserForms to see if I can't get this to work. Thank you all for you input.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Technology Resume 7 67
Link not working 6 41
Add a little space on either side of a table. 12 25
What cart is this? 2 33
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question