Re: custom forms - data collection
I have not tested the referenced mod in 139h, however, I have used it as a basis to creating several diverse forms, some of which include the upload facility discussed in this thread - all of which work on 139 without problem. I recommend you read this entire thread.
Another form worth comparing is the Return Authorisation mod
http://www.zen-cart.com/index.php?ma...roducts_id=433
thread: http://www.zen-cart.com/forum/showthread.php?t=39212
Hope this helps.
Re: custom forms - data collection
I am having trouble getting the form that I made show up on a new page. I even tried to create a new page and make a simple form using HTML, how can I get it to load onto a page that was not created by default by zen cart?
To be specific, I am getting a 404 error - when I thought I created all of the right files. I even edited the HTML using the define pages editor (so I got my new page to appear in that drop down box, but the page wont load).
Edit #2, just found the Wiki.. Looking at it..
Re: custom forms - data collection
I have created a custom form, all appears OK at the moment except when Send is clicked the page just reloads/refreshes and does Not show the success message.
I copied / edited the contact us files. Any ideas on what I may have missed????
Re: custom forms - data collection
Sounds like something with your 'checkout_success' page.
What does the header_php.php file that is inside modules > pages say (at the bottom).
Make sure the filename is correct
zen_redirect(zen_href_link(FILENAME_YOUR_FILE, 'action=success'));
The words YOUR_FILE should be one of the new file you made.
Re: custom forms - data collection
Quote:
Originally Posted by
Lackew
I have created a custom form, all appears OK at the moment except when Send is clicked the page just reloads/refreshes and does Not show the success message.
I copied / edited the contact us files. Any ideas on what I may have missed????
issue resovled - testing was fine but
Error messages are showing below the form instead of the top of page. How do I get these messages to show above. The actual form is in the defines page instead of the tpl page (could not get it to display)
Re: custom forms - data collection
it is my understanding that the header.php is the file I need to add my form fields to pass thru to email. However I am clueless on the formating. I get some data ok but formating the email sent has me stumped.
I need the data formatted into the email so I know what data is what specific info, any Ideas???????
Re: custom forms - data collection
Quote:
Originally Posted by
Lackew
I have created a custom form, all appears OK at the moment except when Send is clicked the page just reloads/refreshes and does Not show the success message.
I copied / edited the contact us files. Any ideas on what I may have missed????
never touched the success page but it appears to be working.
I simlpy copied & renamed the contact us files to build my form then added it the the define pages because it would not display/load from the tpl defualt page (prob cause of the html coding)
Re: custom forms - data collection
unbelievable that I finally got my custom form operational without any help. The only prob now is the Title wont display on the page and the title wont show in sidebox. I did manually ad the title to sidebox even tho it does show in Admin/config/define page status:clap:
Re: custom forms - data collection
I am trying to add an email cart form under the shopping cart. I did exactly how this thread started off by basically integrating the "Contact Us" functionality to the "Shopping Cart" functionality...
1) Integrated the form on tpl_shopping_cart_default.php
2) Integrated the html headers by prepending the contact_us to the shopping cart (just after the Breadcrumb navigation bit).
and modifying the contact code such as redirect to shopping_cart & action=success
3) Integrated the definitions by appending the contact form definitions to the /languages/english/shopping_cart.php
I did use the dropdown option but only because I cannot get the contact page to work without it (Previous pr og r amm e r s modifications?) so I am having to use it here too.
The cart is at :http://shop-dev.pacificnorthern.com/...-3-Ring-Tower/
You will need to put something in the cart to see what I am trying to do.
When submit it should have a &success at the end of the URL but does not :(
and hence, no email.
Please any help? I feel so close!
Re: custom forms - data collection
I figured it out. I just needed to reposition my form in the document.