<pre class="">add_filter( 'gform_submit_button', 'form_submit_button', 10, 5 );
function form_submit_button ( $button, $form ){
   $button = str_replace( "input", "button", $button );
   $button = str_replace( "/", "", $button );
   $button .= "{$form['button']['text']}&lt;/button&gt;";
   return $button;
}</pre>