Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// required css
span.ff_submitting {
display: none;
.ff-working span.ff_submitting {
display: block;
.ff-working span.ff_on_normal {
display: none;
add_filter('fluentform_rendering_field_data_button', function ($data, $form) {
$data['settings']['button_ui']['text'] = '<span class="ff_on_normal">' . $data['settings']['button_ui']['text'] . '</span><span class="ff_submitting">Submitting</span>';
return $data;
}, 10, 2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment