I have a contact form with a link to get there.
What I'd LIKE to do is create another (different) contact form inside one of my EZ pages.
Is this possible? Can one of you wise people point me in the right direction? Thanks
my site
I have a contact form with a link to get there.
What I'd LIKE to do is create another (different) contact form inside one of my EZ pages.
Is this possible? Can one of you wise people point me in the right direction? Thanks
my site
Forms inside ez-pages are problematic. They can work, but I have found that textarea inputs cause problems with the editor. You can paste in or otherwise enter <textarea> code and save it, but if you reopen the editor, it cuts off at the textarea. The only way I have found to edit is to make changes elsewhere, and then erase the existing content of the ez-page and repaste it from the external source. It has been several months since I did it last, so a bit fuzzy on the details.
One other type of input simply cannot be used inside an ez-page, I forget which one.
The best solution will be to create a new define page and put your form there.
Thanks! So here's my question now....
Can I make a whole separate contact us form (from the one that's already in there, that came with ZC?)
Would that just be a matter of duplicating the file and tweaking it?
Thanks.
(in other words, I'm going to take that EZ page that I need a contact form in....and paste the info into a define_pages page and add a contact form.) And then delete the EZ page form.
Oh gosh, how would I get a contact form into the new define_pages page? I don't see an insert form button.
You can probably do something like that. Be aware that a page requires several (about 7?) files scattered around the codebase to be fully operational. I suggest you use the About Us page mod from Free Addons to guide you in making your cloned page; then look at the custom forms - data collection thread for info on making forms.
Thanks Glenn! Especially for telling me theres like 7 files to tinker with, lol. I'll do what you said with the add on.
I'm not good at tinkering![]()
If you use define_page_2 or the like for your form, you won't have to worry about creating the page; you will still have to go through the process of renaming the page (in about 5 different places) if you don't want it to show in navigation as Page 2.
Thanks.
My other thought was just taking the current Contact Us page (which is hardly ever used) and just editing the fields to reflect the information I need to get from the customer.
This way I can just put the information from my EZ page right on this new page (above where the form automatically goes now)
I just can't for the life of me figure out HOW to add codes for fields of 'address', 'phone', and 'number requested'.
ughhhh. I admire anyone who understands this stuff. A job I could never do.
I found a thread about band_something or other and don't understand it at all. What's worse, it's saying I should have a file in my CUSTOM template called tpl_contact_us_default.php
and I do not.
Hmmmm. I don't know why I don't but now I wonder what else I'm missing in my CUSTOM template. I see a LOT of files under the default template along with this above file, and NONE of them are in my CUSTOM area.
Only files you have customized should be in your custom template folders. If there is one you want to customize, copy it to your template folder and edit it there.
Okay thanks. I've spent the last 3 hrs going through a tread. In comment #9 they list 3 files that need to be messed with.
What I did was take MY section of code for the name area in the contact form. I copied/pasted it and then took all the info out for name and put in 'state'.
I then fiddled with the code in the other area that they had in that link above also under #9. (language/english/contact)
These two things made the form show 'state'. But for the life of me I could not fix the other file listed in #9 to get the info that I filled in under 'state' to come through in the email when I tested it and sent it to myself.
My problem seems to be not being able to link what I'm doing into /modules/pages/contact_us/header_php.php
I'm really trying to figure this out via the threads but I'm completely lost.![]()