Skip to content

Commit

Permalink
Fix multistep forms in fluentform (#130)
Browse files Browse the repository at this point in the history
* move gitignore to root folder

* fix multistep forms in fluentform
  • Loading branch information
merlinfuchs authored Jun 4, 2024
1 parent c91397a commit 22f3390
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions friendly-captcha/modules/fluentform/fluentform.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php

// See https://github.com/fluentform/fluentform/blob/5.1.14/app/Services/FormBuilder/FormBuilder.php#L274-L298
add_action('fluentform_render_item_submit_button', 'frcaptcha_fluentform_show_widget', 10, 0);
add_action('fluentform_render_item_step_end', 'frcaptcha_fluentform_show_widget', 10, 0);

function frcaptcha_fluentform_show_widget()
{
Expand Down

0 comments on commit 22f3390

Please sign in to comment.