Solved

Unchangeable TEXTAREA

Posted on 1998-09-24
3
630 Views
Last Modified: 2013-12-25
I want to introduce a form with various fields (name, e-mail, address, ...), including one (a TEXTAREA) that I want to have a fixed (UNCHANGEABLE) text -- it's for an online petition and, of course, I don't want that people participating in the petition have the possibility to change the petition text.
Can you help me? Is there any attribute to the TEXTAREA tag that allows this? Or do you have any other solution?
0
Comment
Question by:gazilion
3 Comments
 
LVL 1

Expert Comment

by:alweiner
ID: 1828805
There's no attribute of the TEXTAREA tag that shuts off editing,
however...

It's not possible for one person to change the petition text that subsequent people see.   You don't need to be concerned.
0
 

Author Comment

by:gazilion
ID: 1828806
I know a person cannot change the text so that for subsequent people the text will be addulterated -- but the problem is that the person may change the petition text (s)he's sending, and if (s)he makes insults or something that may be prejudicial to the whole petition.
Thanks anyway.
0
 
LVL 3

Accepted Solution

by:
zhongbing earned 50 total points
ID: 1828807
i agree with alweiner. it's up to the cgi program to remove the bad effect. And since you don't want anyone change the textarea. why not just use plain text there? i mean you can just wirte the text there without a textarea.
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
help with PowerShell script for registry permissions 8 127
Convert .csv to tab delimited text 11 50
BATCH to EXE Converter 2 70
Powershell Code 3 42
Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn how to dynamically set the form action using jQuery.

749 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