0

Using the freeform field type to display the form. Is it possible to send the url of the page the form is located.

I've tried using a hidden form and prepopulating with {segment_data}.

Thanks

  • Which version of Freeform and EE are you using? – Solspace May 18 '18 at 5:48
0

I normally do something like this:

<input type="hidden" name="my_form_field_name" value="{site_url}/{if segment_1}{segment_1}/{/if}{if segment_2}{segment_2}/{/if}">
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.