Title: WordPress Comment Values
Last modified: August 19, 2016

---

# WordPress Comment Values

 *  [drinkingsouls](https://wordpress.org/support/users/drinkingsouls/)
 * (@drinkingsouls)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/wordpress-comment-values/)
 * Hey, this is something I’m sure has been covered but I can’t find anything relevant
   from a WordPress and web search.
    Basically in my comments.php form I have added
   the value text ‘Name’, ‘Email’, ‘Website’ and ‘Comments…’ respectively. I added
   these text value fields so that the user would know what they were. However Name,
   Email and Website are not required, so if a user fills out the comment field 
   but no others the comment is submitted as being by ‘Name’ with the email address‘
   Email’ and the website ‘Website’. Does that make sense?. What I want to do is
   say to WordPress, if the default values have not been changed then ignore or 
   change them. For example, if the user leaves Name as Name then convert it to ‘
   Anonymous’ before displaying it. If the user leaves website as ‘Website’ then
   they don’t have a website, rather than it showing their website as being [http://Website](http://Website).
   The same for email, if the value ‘Email’ is unchanged it displays the commenters
   email as being ‘Email’. I don’t think there is anything within WordPress to achive
   this, but perhaps a Javascript solution to say if the name, email and website
   values and Name, Email and Website then remove/convert them? Would this be possible?
   Any help is greatly appreciated. Thanks

The topic ‘WordPress Comment Values’ is closed to new replies.

## Tags

 * [change](https://wordpress.org/support/topic-tag/change/)
 * [comment](https://wordpress.org/support/topic-tag/comment/)
 * [convert](https://wordpress.org/support/topic-tag/convert/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [remove](https://wordpress.org/support/topic-tag/remove/)
 * [value](https://wordpress.org/support/topic-tag/value/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [drinkingsouls](https://wordpress.org/support/users/drinkingsouls/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/wordpress-comment-values/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
