Title: Default Value for Text Field
Last modified: September 1, 2016

---

# Default Value for Text Field

 *  Resolved [yousufkh](https://wordpress.org/support/users/yousufkh/)
 * (@yousufkh)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/default-value-for-text-field-1/)
 * Hi
 * How i can set default value for a text field, i configured to set placeholder
   though now need to set default value for text field. Please help!
 *     ```
       array(
   
                   "name" => "adverts_person",
   
                   "type" => "adverts_field_text",
   
                   "order" => 10,
   
                   "label" => __( "Contact Person", "adverts" ),
   
                   "is_required" => true,
   
       			"placeholder" => "SBACC",
   
       			"set_value" => "SBACCCCC",
   
                   "validator" => array( 
   
                       array( "name" => "is_required"),
   
                   )
       ```
   
 * [https://wordpress.org/plugins/wpadverts/](https://wordpress.org/plugins/wpadverts/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/default-value-for-text-field-1/#post-7567564)
 * Hi, right now, without modifying original source code you can only set placeholder,
   but not the default value i am afraid.

Viewing 1 replies (of 1 total)

The topic ‘Default Value for Text Field’ is closed to new replies.

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

## Tags

 * [default value](https://wordpress.org/support/topic-tag/default-value/)

 * 1 reply
 * 2 participants
 * Last reply from: [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/default-value-for-text-field-1/#post-7567564)
 * Status: resolved