Can data be copied into a comment box?

Solved/Closed
craigo Posts 19 Registration date Friday February 27, 2009 Status Member Last seen April 4, 2009 - Apr 4, 2009 at 08:11 AM
 jackrowe - Oct 7, 2009 at 02:34 PM
Hello,
Is it possible for data to be copied into a comment box?
Related:

1 response

wifipen Posts 25 Registration date Tuesday October 14, 2008 Status Member Last seen May 14, 2009 14
Apr 5, 2009 at 09:00 AM
No it is not possible
0
You can populate the comment box w/ data by putting the data into a $variableWithData, then using that variable as the value="" attribute of the comment box (which is typically just an html form).

The value attribute would look like this:

value="<?php echo $variableWithData; ?>"

and just fits into the textarea tag as per usual. The pages have to be able to parse php. Users will be able to replace the data in the comment box with their own text. This technique is also useful for filling in form fields that users have already completed when returning them to a form for corrections.
0