2

I've created a (apply for a job) form using amforms. I'm using this form for multiple jobs. Whenever someone replies with this form, I want to pass the job name in the form.

I've tries many thing but can't find a solution.

Anyone?

1

I presume the title of the entry is the name of the job. So if that's the case, just add a hidden input in the form and add the entry's title to the value.

<input type="hidden" name="fields[jobTitle]" value="{{ entry.title }}">

Then make sure to create a 'jobTitle' text field in the CMS and attach it to that form.

| improve this answer | |
  • does not work for me ! – migswd May 26 '17 at 8:05
  • Can you provide some more details about what's not working so I can maybe help you out? Did you create the "jobTitle" field in the plugin? Is the entry's title printing to the page? Are you sure it's a problem related to this issue? You gotta provide some details when posting. – Ryan Jun 6 '17 at 17:59

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.