-
AuthorPosts
-
bwebdesign Friend
bwebdesign
- Join date:
- December 2014
- Posts:
- 36
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 4
- Thanked:
- 6 times in 3 posts
December 8, 2014 at 3:48 pm #203397Hello,
I would like to add a checkboxfield to the contact company form. How can i do that?
Thanks,
Mikepavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
bwebdesign Friendbwebdesign
- Join date:
- December 2014
- Posts:
- 36
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 4
- Thanked:
- 6 times in 3 posts
December 8, 2014 at 8:32 pm #557903I have tried it but now i get this error:
JForm::getInstance could not load fileThis is wat i have edited:
<field name=”contact_VLOER”
type=”list”
description=”COM_CONTACT_VLOER”
label=”COM_CONTACT_FIELD_PARAMS_VLOER”
>
<option value=””>JGLOBAL_USE_GLOBAL</option>
<option value=”0″>JHIDE</option>
<option value=”1″>JSHOW</option>
</field>
<field name=”contact_ZONWERING”
type=”list”
description=”COM_CONTACT_VLOER”
label=”COM_CONTACT_FIELD_VLOER”
>
<option value=””>JGLOBAL_USE_GLOBAL</option>
<option value=”0″>JHIDE</option>
<option value=”1″>JSHOW</option>
</field> <— In contact.xml (in components–>com_contactNow i can select to show that to fields.
$mailfrom = $app->get(‘mailfrom’);
$fromname = $app->get(‘fromname’);
$sitename = $app->get(‘sitename’);$name = $data[‘contact_name’];
$email = JStringPunycode::emailToPunycode($data[‘contact_email’]);
$subject = $data[‘contact_subject’];
$vloer = $data[‘contact_VLOER’];
$zonwering = $data[‘contact_ZONWERING’];
$body = “Checkbox #:”$vloer $zonwering. “/r/n” .$data[‘contact_message’]; <– So that they would be send to. in components–>com_contact–>controllers–>contact.phpBut it still don’t get a checkboxfield. and i don’t have a contactpage anymore.
I want a checkboxfield like this:
Where do you life?
USA
Netherlands
Germanypavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
bwebdesign Friendbwebdesign
- Join date:
- December 2014
- Posts:
- 36
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 4
- Thanked:
- 6 times in 3 posts
December 9, 2014 at 5:49 am #557960I know that that would be a solution but i prefer to use this one because of the layout of the page. And i would like to use that layout. is that possible?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
December 9, 2014 at 6:01 am #557961<blockquote>is that possible?</blockquote>
Everything is possible , Try this other resource too maybe matching 2 informations will solve it
bwebdesign Friendbwebdesign
- Join date:
- December 2014
- Posts:
- 36
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 4
- Thanked:
- 6 times in 3 posts
December 9, 2014 at 3:43 pm #558034I can see the form again only not the checkboxfield
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
December 9, 2014 at 6:16 pm #558064<em>@bwebdesign 456779 wrote:</em><blockquote>I can see the form again only not the checkboxfield</blockquote>
I think you can hire a developer to customize your form or adopt as final solution an external component as suggested above
1 user says Thank You to pavit for this useful post
bwebdesign Friendbwebdesign
- Join date:
- December 2014
- Posts:
- 36
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 4
- Thanked:
- 6 times in 3 posts
December 10, 2014 at 8:03 am #558118I solved it! I made my own form and then i copied the company page. I removed the form and than pasted my own form in it. The only problem is that i can’t edit it in Joomla but that isn’t a big issue for me! Thanks for the support!
1 user says Thank You to bwebdesign for this useful post
-
AuthorPosts
This topic contains 9 replies, has 2 voices, and was last updated by bwebdesign 9 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum