![]() | |
| |
| |||||||
| HTML / Design Are you a designer? Or just trying to become one? Great! You'll be able to talk about layouts, and HTML code to help your fellow designers, so everyone can work together to master the tricks of the trade. (Maybe even some JavaScript too!) |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
| |||
|
I have a master site and I am using cgiemail to process a form. It works great and I like the template ability to give me a formatted email. But ... I struggled when I tried to add a form to an add-on domain using cgiemail. And support seems to have no clue. They said that maybe it couldn't be done and I should pursue a PHP approach. What I found works is this: Assume the main domain is main.com Assume the add-on domain is addon.org Assume the template is join.txt Assume the success screen is jointy.shtml You'll have to view the rest in the next segment. This forum is chopping off my posts. (Hmmm. Seems the forum breaks on the word "action" used without quotes) Paul Custom Support - Welcome Last edited by Paul Hunt; 02-15-2008 at 12:20 PM. |
| |||
|
In the form tag you'll code the "action" as: http://main.com/cgi-bin/cgiemail/addon.org/join.txt In the hidden redirect (success) field code the "value" as: http://addon.org/jointy.shtml It appears you must use cgiemail in the main domain and reference it explicitly. ../cgi-bin/cgiemail does not work copying cgiemail to the add-on domain cgi-bin folder does not work |
| |||
|
cgiemail is already installed. It allows me to set up a template to report the form results in the order that I want to see them for database entry (as opposed to the order that is best for the visitor to enter things in). Plus I can add supporting information to each field, as opposed to having it just report, for example, Yes or No. I looked at formmail, but it doesn't (yet) have templates. Except for the issue with add-on domains, using cgiemail was easy. |