I have want to add the following code to my `functions.php` in WordPress:

```
add_filter( 'gform_submit_button_4', 'form_submit_button', 10, 2 );
function form_submit_button( $button, $form ) {
    return "<button class='button' id='gform_submit_button_{$form['id']}'>Get a Test Drive</button>";
}

```

But, I only want to apply it on certain pages, I've tried two avenues: a if statement using `is_page` & wrapping the gravity forms shortcode in a div with a class and targeting only `.class #gform_submit_button_4` so far I haven't been able to get either to work.

Any help would be greatly appreciated.

Thanks  

Willem