// filter the Gravity Forms button type
I have been successfully able to get this filter to work for the Submit button, but not the previous or next buttons. Is there something simple I am missing here?
looks like this code only covers the submit button, and not the other two:
// filter the Gravity Forms button type
add_filter("gform_submit_button", "form_submit_button", 10, 2);
function form_submit_button($button, $form){
return "<button class='btn' id='gform_submit_button_{$form["id"]}'><span>Submit</span></button>";
}