acfe_form(“form_by_name”) not working
-
Hello dev
i found issue in your plugin where form is not renderindg by name.
you gave this code to user when they created form name
Shortcodes: [acfe_form ID="55"] [acfe_form name="test_form"] PHP code: <?php get_header(); ?> <!-- Test Form --> <?php acfe_form('test_form'); ?> <?php get_footer(); ?>
when this code run using form name as string
its goes here $form = get_page_by_path($param, OBJECT, ‘acfe-form’);
in validate_form function in file acf_form_front
to check if the post by post_name is exist or not but in the database the form post name is stored as “test-form” and not “test_form”
which failed to load the form
form using id is working fine though.
thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘acfe_form(“form_by_name”) not working’ is closed to new replies.