Is it possible to pass the JobName to Formbuilder?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Shortcheese
New Member
New Member
Posts: 3
Joined: Mon Jan 04, 2010 11:43 am

Is it possible to pass the JobName to Formbuilder?

Post by Shortcheese »

Hi all,

I'm using CMSMS 1.6.6. and I am very satisfied with it.
In my current website project I use the Jobs (Job listing) module.
Now I would like to pass the JobName as a parameter to the application form (FormBuilder).

Is it possible to pass the JobName to Formbuilder? And if so, can someone tell me how I can do this?

Thanks in advance!

Regards,
Dennis
Peciura

Re: Is it possible to pass the JobName to Formbuilder?

Post by Peciura »

You can pass value over url (/index.php?jobname=actual_job_name) and access it in smarty enabled field

Code: Select all

{$smarty.get.jobname}
or

Code: Select all

{cms_module module='FormBuilder' form='my_form' value_FIELDNAME=$smarty.get.jobname}
also

Code: Select all

{cms_module module='FormBuilder' form='my_form' value_fldNUMBER=$smarty.get.jobname}
Shortcheese
New Member
New Member
Posts: 3
Joined: Mon Jan 04, 2010 11:43 am

Re: Is it possible to pass the JobName to Formbuilder?

Post by Shortcheese »

Thanks a lot Peciura.

It works great.  :D
Problem solved.
Loopy
Forum Members
Forum Members
Posts: 38
Joined: Sat Jun 10, 2006 5:34 pm

Re: Is it possible to pass the JobName to Formbuilder?

Post by Loopy »

Hi Shortcheese I'm trying to do the same thing but I just don't get it. Can you provide more info on how this is done.

Thanks.
Last edited by Loopy on Wed Jan 27, 2010 2:42 pm, edited 1 time in total.
Post Reply

Return to “Modules/Add-Ons”