Title: Problem with $comment_field, trying modding textarea
Last modified: August 19, 2016

---

# Problem with $comment_field, trying modding textarea

 *  [Fredriks](https://wordpress.org/support/users/fredriks/)
 * (@fredriks)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/problem-with-comment_field-trying-modding-textarea/)
 * Hello,
 * I think I have understand the documentation for the $comment_field correct ([http://codex.wordpress.org/Function_Reference/comment_form#.24args](http://codex.wordpress.org/Function_Reference/comment_form#.24args))
 * I wan’t to be able to go in an modify the textarea in the comment section. The
   theme is **not** hard-coded with the name, email, url and comment not showing
   up in the comment.php. I also wan’t to keep it that way.
 * I have the following code:
    _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * Where $comment_field is my try to modify the textarea. But this shows up – with
   both the original textarea and my attempt of modifying it in the $comment_field–
   like a hidden input with the textarea all messed up in it, like this:
    _[Code
   moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * What am I doing wrong? How should I do to get my version showing up only and 
   not the original textarea and my version?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Fredriks](https://wordpress.org/support/users/fredriks/)
 * (@fredriks)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/problem-with-comment_field-trying-modding-textarea/#post-1925300)
 * Here comes the post again with the code in pastebin:
 * Hello,
 * I think I have understand the documentation for the $comment_field correct ([http://codex.wordpress.org/Function_Reference/comment_form#.24args](http://codex.wordpress.org/Function_Reference/comment_form#.24args))
 * I wan’t to be able to go in an modify the textarea in the comment section. The
   theme is not hard-coded with the name, email, url and comment not showing up 
   in the comment.php. I also wan’t to keep it that way.
 * I have the following code:
    [http://wordpress.pastebin.com/tg8gRjxx](http://wordpress.pastebin.com/tg8gRjxx)
 * Where $comment_field is my try to modify the textarea. But this shows up – with
   both the original textarea and my attempt of modifying it in the $comment_field–
   like a hidden input with the textarea all messed up in it, like this:
    [http://wordpress.pastebin.com/FNtnbfp0](http://wordpress.pastebin.com/FNtnbfp0)
 * What am I doing wrong? How should I do to get my version showing up only and 
   not the original textarea and my version?
 *  Thread Starter [Fredriks](https://wordpress.org/support/users/fredriks/)
 * (@fredriks)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/problem-with-comment_field-trying-modding-textarea/#post-1925574)
 * Anybody who has a clue to solve this?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problem with $comment_field, trying modding textarea’ is closed to new
replies.

 * 2 replies
 * 1 participant
 * Last reply from: [Fredriks](https://wordpress.org/support/users/fredriks/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/problem-with-comment_field-trying-modding-textarea/#post-1925574)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
