Title: Carlos Silva's Replies | WordPress.org

---

# Carlos Silva

  [  ](https://wordpress.org/support/users/silvaca/)

 *   [Profile](https://wordpress.org/support/users/silvaca/)
 *   [Topics Started](https://wordpress.org/support/users/silvaca/topics/)
 *   [Replies Created](https://wordpress.org/support/users/silvaca/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/silvaca/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/silvaca/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/silvaca/engagements/)
 *   [Favorites](https://wordpress.org/support/users/silvaca/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Page Framework] Load default values into Database if option is empty](https://wordpress.org/support/topic/load-default-values-into-database-if-option-is-empty/)
 *  Thread Starter [Carlos Silva](https://wordpress.org/support/users/silvaca/)
 * (@silvaca)
 * [12 years ago](https://wordpress.org/support/topic/load-default-values-into-database-if-option-is-empty/#post-5093932)
 * Thank you once again! =]
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Page Framework] Make a group of 2 text inputs repeatable](https://wordpress.org/support/topic/make-a-group-of-2-text-inputs-repeatable/)
 *  Thread Starter [Carlos Silva](https://wordpress.org/support/users/silvaca/)
 * (@silvaca)
 * [12 years ago](https://wordpress.org/support/topic/make-a-group-of-2-text-inputs-repeatable/#post-5090369)
 * I posted a new topic
 * Thank you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Page Framework] Make a group of 2 text inputs repeatable](https://wordpress.org/support/topic/make-a-group-of-2-text-inputs-repeatable/)
 *  Thread Starter [Carlos Silva](https://wordpress.org/support/users/silvaca/)
 * (@silvaca)
 * [12 years ago](https://wordpress.org/support/topic/make-a-group-of-2-text-inputs-repeatable/#post-5090367)
 * Sure will!
    One more quick question tho.
 * Is there a way to load the database with default values when the option is empty?(
   when get_option($extended_class_name) returns an empty array)
 * I implemented a reset button just like in your demo, that in the validation function
   it returns an empty array erasing all the options.
    Is there a way to check if
   the option doesn’t exist and save the default value to the database?
 * PS. I know about the default key that every field has but it only pre-fills the
   forms. After deleting the options I would have to press submit in order for those
   default settings to actually be saved into the database.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Page Framework] Make a group of 2 text inputs repeatable](https://wordpress.org/support/topic/make-a-group-of-2-text-inputs-repeatable/)
 *  Thread Starter [Carlos Silva](https://wordpress.org/support/users/silvaca/)
 * (@silvaca)
 * [12 years ago](https://wordpress.org/support/topic/make-a-group-of-2-text-inputs-repeatable/#post-5090239)
 * You are the man! (or woman)
 * That was amazingly fast!!
    Thank you so much for the awesome plugin and the great
   support behind it!

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