Forum

Thread tagged as: Events, Forms

Url or title to form response mail

Hi.

I have one form that I use for subscribing to multiple categories in events. So people will have a signing up form.

How can I show the url or page title on the form, so that the admin can tell on witch event was the user subscribing to?

I tried to pass a variable into template, but I guess this doesn't work for forms?

<?php $actual_link = "https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; ?>

<?php PerchSystem::set_var('actual_link', $actual_link);?>
Karri Karttunen

Karri Karttunen 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Are you trying to pass that value into the email template?

Hi, Drew.

Yes I am. So that the admin can see on witch event the registration form was sent from.

Drew McLellan

Drew McLellan 2638 points
Perch Support

I don't think that's possible at the moment.

Ok, I'll do some javascript thing that auto checks a checkbox etc.

Thanks!