Title: default value
Last modified: September 1, 2016

---

# default value

 *  Resolved [izy79](https://wordpress.org/support/users/izy79/)
 * (@izy79)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/default-value-6/)
 * Hello.
    I need custom field to be shown with some default value in case there
   is nothing written in this field. Is this somehow possible with not so much hard-
   coding ?
 * [https://wordpress.org/plugins/strong-testimonials/](https://wordpress.org/plugins/strong-testimonials/)

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

 *  anonymized-13171256
 * (@anonymized-13171256)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/default-value-6/#post-7711987)
 * I will try to add this to the next minor release scheduled for next week.
 *  Thread Starter [izy79](https://wordpress.org/support/users/izy79/)
 * (@izy79)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/default-value-6/#post-7712056)
 * Thank you for very much!
 *  anonymized-13171256
 * (@anonymized-13171256)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/default-value-6/#post-8163472)
 * I want to be sure I understand the behavior you need.
 * 1. You set a default value in the fields editor.
    2. The default value appears
   in the form input field. 3. The person submitting the form can obviously change
   the value but they cannot leave it blank. If they delete it, the default value
   reappears.
 * Do I have it right?
 *  Thread Starter [izy79](https://wordpress.org/support/users/izy79/)
 * (@izy79)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/default-value-6/#post-8163569)
 * My need is- if person do not post his name, in views this field have value “Client”(
   translatable).
 * Something like – if (field==empty) then field value = default
 * Person does not need to see this fields default value.
 *  anonymized-13171256
 * (@anonymized-13171256)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/default-value-6/#post-8163754)
 * Thanks. That’s different than the default value in most form builders. Do you
   want the default value stored in the testimonial (so you can see it in Custom
   Fields in the post editor) or just displayed in the View?
 *  Thread Starter [izy79](https://wordpress.org/support/users/izy79/)
 * (@izy79)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/default-value-6/#post-8163774)
 * Just displayed in View 🙂

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

The topic ‘default value’ is closed to new replies.

 * ![](https://ps.w.org/strong-testimonials/assets/icon-256x256.png?rev=3134855)
 * [Strong Testimonials](https://wordpress.org/plugins/strong-testimonials/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/strong-testimonials/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/strong-testimonials/)
 * [Active Topics](https://wordpress.org/support/plugin/strong-testimonials/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/strong-testimonials/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/strong-testimonials/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [izy79](https://wordpress.org/support/users/izy79/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/default-value-6/#post-8163774)
 * Status: resolved