NiceThemesCreating customize contact form – NiceThemes http://nicethemeswp.com/forums/topic/creating-customize-contact-form/feed/ Wed, 23 Apr 2025 13:29:00 +0000 http://bbpress.org/?v=2.5.12-6148 en-US http://nicethemeswp.com/forums/topic/creating-customize-contact-form/#post-5859 <![CDATA[Creating customize contact form]]> http://nicethemeswp.com/forums/topic/creating-customize-contact-form/#post-5859 Mon, 15 Jun 2015 09:50:29 +0000 El_Pablo Hi,

I made a customized contact form, according to the info I found in former post on this forum. So I made a copy of the php.file, renamed it and made the necessary changes to it. The form looks good, but now I have 2 problems:

1) In the Nice Theme settings, I can only fill in 1 email address, but the customized form I made, has to go to another email address then the one on the contact page. How can I arrange this?

2) I have tested the customized contact form (www.tsant.be/reservaties/). I can fill in all the fields, but when I receive the email, the extra fields I added are not mentioned. How can I arrange this?

Kind regards,

Pieter

]]>
http://nicethemeswp.com/forums/topic/creating-customize-contact-form/#post-5862 <![CDATA[Reply To: Creating customize contact form]]> http://nicethemeswp.com/forums/topic/creating-customize-contact-form/#post-5862 Mon, 15 Jun 2015 17:02:47 +0000 Juanfra Aldasoro Hello Pieter,

Thanks for writing. The contact form included in the theme it is not meant to be extended.

You can rename the contact template and add some more fields, but you need to have in mind that any form need a special script in order to be sent (The form results are handled via AJAX, in the file /includes/ajax.php). This is not something we recommend. We recommend users to use a plugin that is meant to build forms, like contact form 7 or gravity forms. That way you would be able to create forms without having to deal with the coding.

Best,
Juan.

]]>
http://nicethemeswp.com/forums/topic/creating-customize-contact-form/#post-5891 <![CDATA[Reply To: Creating customize contact form]]> http://nicethemeswp.com/forums/topic/creating-customize-contact-form/#post-5891 Mon, 22 Jun 2015 11:37:13 +0000 El_Pablo Hi Juan,

I managed to add extra fields to the contact form and to adjust the ajax file, so everything is working well. Now I have made a second contact form, with some extra fields. I want to use this contact forms on my site as well, so my question is: How can I make the second contact form working well? Do I have to make a copy of the original ajax file, rename it, and link the second contact form to it? And how do I do this?

Regards,
Pieter

]]>
http://nicethemeswp.com/forums/topic/creating-customize-contact-form/#post-5897 <![CDATA[Reply To: Creating customize contact form]]> http://nicethemeswp.com/forums/topic/creating-customize-contact-form/#post-5897 Mon, 22 Jun 2015 14:23:52 +0000 Juanfra Aldasoro Hi Pieter,

Thanks for the follow up.

All forms displayed through the contact template use the same logic and functions. Unfortunately we can’t provide support on customizations or scripting: http://nicethemeswp.com/article/support-vs-customizations/

What I can recommend you is to check the following documentation in order to understand how AJAX requests are handled in WordPress: https://codex.wordpress.org/AJAX_in_Plugins

Best,
Juan.

]]>