I'm using (the latest) Freeform Pro to create forms with its Composer feature. Then I'm using the Freeform Channel Fieldtype to assign a form to a specific channel entry. In my template, I'm outputting the form by simply calling the channel field name. Something like this:
{exp:channel:entries
channel="forms"
url_title="{segment_2}"
dynamic="no"
limit="1"
disable="member_data|categories|pagination"
}
<div class="form-header">
<h2>{title}</h2>
{form_description}
</div>
{form_form}
{if no_results}{redirect="404"}{/if}
{/exp:channel:entries}
...where {form_form}
is the Freeform Channel Field. This will output the channel entry and form as expected.
In the Freeform Channel Field, you can also define the Return path for the form. However, the only dynamic segment you can set is the Entry ID of the Freeform entry: form/sent/%%entry_id%%
I need to add the URL title of the associated channel entry in this return path, so something like: form/sent/{url_title}/%%entry_id%%
— is this possible?
On top of that, I'd like all my forms to have this particular return path, so there's no need for that input field in the channel form. Can you set the default value and hide the input field?