Company Directory - can I add contact forms ?
Posted: Wed Mar 16, 2011 9:32 am
Hello
I'm using CMSMS 1.9.4.1 and Company Directory 1.8.1. and FormBuilder 0.7.
My client would like only some of the businesses in the company directory to have a unique contact form within the description area of the directory listing. Some of the businesses wont have a form at all and others would need a form to say, book a tentative appointment or make a product enquiry. So I unfortunately can't apply a generic form to ALL listings in the main template as the forms will differ depending on the type of business, - so ideally I would need to call up the form reference tag in the relevant businesses listing/description field.
I have tried for example adding {FormBuilder form='contact'} to one of the businesses in the directory, but this does not generate the form like on a normal page - but just displays that code. I tested the same tag on an ordinary page and it displays the form fine.
I assume because the content area in the company directory template differs to ordinary templates or pages? And we cannot use the normal CMSMS tags wrapped in {brackets} in the company directory description area?
I also tried wrapping the code in <literal> tags, but this didn't help.
Is it at all possible to achieve this? And if there is a way to do this (I'm a designer not a developer so hopefully something simple) would be glad to hear of any advice.
Many thanks
I'm using CMSMS 1.9.4.1 and Company Directory 1.8.1. and FormBuilder 0.7.
My client would like only some of the businesses in the company directory to have a unique contact form within the description area of the directory listing. Some of the businesses wont have a form at all and others would need a form to say, book a tentative appointment or make a product enquiry. So I unfortunately can't apply a generic form to ALL listings in the main template as the forms will differ depending on the type of business, - so ideally I would need to call up the form reference tag in the relevant businesses listing/description field.
I have tried for example adding {FormBuilder form='contact'} to one of the businesses in the directory, but this does not generate the form like on a normal page - but just displays that code. I tested the same tag on an ordinary page and it displays the form fine.
I assume because the content area in the company directory template differs to ordinary templates or pages? And we cannot use the normal CMSMS tags wrapped in {brackets} in the company directory description area?
I also tried wrapping the code in <literal> tags, but this didn't help.
Is it at all possible to achieve this? And if there is a way to do this (I'm a designer not a developer so hopefully something simple) would be glad to hear of any advice.
Many thanks