How do I create a page with a dynamic id? Here’s an example: I have a job listing at www.example.com/designer and the user hits "apply" on that page. The user is then taken to a form. How can I know that the user came from www.example.com/designer and not www.example.com/developer?
Depending on how your redirect works, you can redirect and get the param in the template where the form is via:

{% set param_name = craft.request.param('param_name') %}


You can then set this param in your form template and post it to your action controller.

&lt;input type='hidden' name='param_name' value='{{ param_name }}' /&gt;


In your action controller you can retrieve it by getting it from the post.

$param_name = craft()-&gt;request-&gt;getPost('param_name');


Is this anything you can use? Or need? Good luck!