Solved

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

Posted on 2010-11-29
8
231 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
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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

831 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