Solved

Unchangeable TEXTAREA

Posted on 1998-09-24
3
646 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
[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
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
The viewer will learn how to count occurrences of each item in an array.

717 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