Hi All,
I have Gravity forms included in a template page using the following code:
<?php gravity_form(1, true, false, false, '', true, 12); ?>
and just before wp_head() :
gravity_form_enqueue_scripts(1, true);
it is being included correctly but for some reason the permalink in de form itself is not correct. I have it installed on a subforlder in my localhost:
http://localhost/subfolder/en/about/
However, when I check the HTML form code it looks like this:
<form method="post" enctype="multipart/form-data" target="gform_ajax_frame_1" id="gform_1" action="/en/about/#gf_1">
As you can see, it tries to submit to the folder /en/about/ while it should be /subfolder/en/about/
Does anyone has any idea why this would happen?
EDIT: the same happens when I use the tag {embed_url} for any predefined value, it gives back http://localhost/en/about/ instead of http://localhost/subfolder/en/about/