Forum

Thread tagged as: Question, Addons, Forms

How to access slug from page in form success content

Hi I'm using perch forms in standard perch.

The link to the form page contains a slug in the URL which I'd like to pass/access in the success part of the form.

So far I've tried setting a perch variable using perch_get() but I can't access it in the success part.

Any pointers on how to do this is appreciated.

Thanks Graham

Graham Shedden

Graham Shedden 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

I don't think any content tags are parsed within the success section, which is an interesting point.

I can't think of an immediate workaround other than using JavaScript.

Thanks Drew I just wanted to check first before going the javascript route.