Title: Button &#8216;Save Changes To Database&#8217;
Last modified: May 8, 2020

---

# Button ‘Save Changes To Database’

 *  Resolved [sonisitez](https://wordpress.org/support/users/sonisitez/)
 * (@sonisitez)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/button-save-changes-to-database/)
 * Hi, its possible to changes button “Save Changes To Database” in front end form
   without editing the WPDA_Simple_Form.php? Because after update my custom gone?
   Thank you

Viewing 1 replies (of 1 total)

 *  Plugin Author [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * (@peterschulznl)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/button-save-changes-to-database/#post-12805892)
 * Yes, you can! 😉 Please check out filter wpda_after_simple_form:
    [https://wpdataaccess.com/2020/01/29/action-hook-wpda-after-simple-form-to-add-custom-elements-to-end-of-data-entry-forms/](https://wpdataaccess.com/2020/01/29/action-hook-wpda-after-simple-form-to-add-custom-elements-to-end-of-data-entry-forms/)
 * Of course I wanted to test this for myself as well! 🙂 Below is the code to change
   the label to SAVE. Please be aware that this only works if you are in the Data
   Explorer (?page=wpda). If you want to use it on other pages, just add your menu
   slug.
 *     ```
       <?php
       function change_button_label( $self ) {
       	if ( isset( $_REQUEST['page'] ) && 'wpda' === $_REQUEST['page'] ) {
       		?>
       		<script type="text/javascript">
       			jQuery(document).ready(function() {
       				jQuery('.button-primary').val('SAVE');
       			});
       		</script>
       		<?php
       	}
       }
       add_action( 'wpda_after_simple_form', 'change_button_label', 10, 1);
       ?>
       ```
   
 * Best regards,
    Peter

Viewing 1 replies (of 1 total)

The topic ‘Button ‘Save Changes To Database’’ is closed to new replies.

 * ![](https://ps.w.org/wp-data-access/assets/icon-256x256.png?rev=3299063)
 * [WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards](https://wordpress.org/plugins/wp-data-access/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-data-access/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-data-access/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-data-access/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-data-access/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/button-save-changes-to-database/#post-12805892)
 * Status: resolved