Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Contact form and script
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Laffen
Novice

Norway
5 Posts

Posted - 04 Dec 2012 :  20:15:35  Show Profile  Visit Laffen's Homepage  Reply with Quote
Hello all experienced Dynamic HTML Editor users, may the force be with ya all!

This post is about help to create a contact form on my site, sending name, address, etc to my email (and even store it in a file on my site).

The tutorial Lesson 1a http://www.hexagora.com/download/dhe/tutorials/advanced/lesson1a.html

- this shows me how to create the user interface. Then the the tricky part - a script / php code or whatever needed? So how to implement this script into Dynamic HTML Editor. I found under other samples, that maybe it is possible to set up all in Dynamic Html Editor - http://www.hexagora.com/download/dhe/tut-unimail/

- and this is my goal.

Beside this I have found several contact forms on the web, and some generating html and php code
- http://www.thesitewizard.com/wizards/feedbackform.shtml
- http://www.freecontactform.com/free.php
- but I' don?t know for sure and I really don't want to use a solution redirecting me to another site...
So far I?m testing out a solution like this until I find out how to make a contact form script and implement this in Dynamic HTML Editor: http://www.emailmeform.com/builder/form/1364KaqI4xX

I?ll guess I need some short tips guiding in the right direction - some links?

My page is http://xodus-music.no/



Anyone interesting to help me out?

Regards Olav Andreas Randen

xodus@live.no
Oslo, Norway

Edited by - Laffen on 04 Dec 2012 21:31:37

s.dav
Site Admin

Italy
3364 Posts

Posted - 05 Dec 2012 :  15:13:55  Show Profile  Visit s.dav's Homepage  Reply with Quote
Olav,

simply create a form with input fields inside, set a PHP or ASP email processor and setup also fields validation for these fields :-)

PS. You need to publish the genrated page on your site or the form will not work.

Regards, Davide
Go to Top of Page

Laffen
Novice

Norway
5 Posts

Posted - 06 Dec 2012 :  13:37:18  Show Profile  Visit Laffen's Homepage  Reply with Quote
The first point is fine.

So no 2 and No. 4. This is a script. The script I understand a text file with code my_script.php This I save the files directory in my DHED project. From the links I "somewhere" on the page with the input form (contact form) - Or is it now features integrated in the program DHED I wonder?

So no 3 Likewise implement validation directly in DHED or own script? - Same as above questioning.

Last No. 4 The generated page is the page with the form team in DHED - how on this page implemented this - I suppose this is.

These questions shall I take along to a friend / web specialist. Therefore I do not need more help so far - if I have not misunderstood everything?

Thank you!
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 07 Dec 2012 :  08:58:25  Show Profile  Visit s.dav's Homepage  Reply with Quote
The feature is integrated into the editor; you don't need to write php code.

Regards, Davide
Go to Top of Page

Laffen
Novice

Norway
5 Posts

Posted - 07 Dec 2012 :  21:13:59  Show Profile  Visit Laffen's Homepage  Reply with Quote
Thank you very much for your reply! I really appreciate it - support like this. (I?ll buy the next update of DHED! I also hope that this post will be interesting for others?)

Awesome that this is integrated! (I spent the last night googling reading about scripts for PHP and ASP email processor). Then I will focus on DHED and check out how this is done?


Regards, Olav Andreas

Edited by - Laffen on 07 Dec 2012 21:37:54
Go to Top of Page

Laffen
Novice

Norway
5 Posts

Posted - 07 Dec 2012 :  23:45:59  Show Profile  Visit Laffen's Homepage  Reply with Quote
I made it! Thanks again!
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 08 Dec 2012 :  20:16:05  Show Profile  Visit s.dav's Homepage  Reply with Quote
Good!

Regards, Davide
Go to Top of Page

vogo
Novice

Switzerland
12 Posts

Posted - 24 Jan 2013 :  08:22:36  Show Profile  Visit vogo's Homepage  Reply with Quote
I have found a solution to put the guest address to "from" in the received mail. I used Hexagora PHP processor for realisation. Put following code without (") into field 'From address (optional):'
"' . $_POST["txtEmail"].';"
Now you will have the guest address in the received mail at the right place for e.g. answering.
Go to Top of Page

WebSupport101
Practical

USA
17 Posts

Posted - 20 Feb 2013 :  16:03:00  Show Profile  Reply with Quote
Beware of using outside email server services.

The new spam black list rules can get you caught up in web mail forwarded through them from your form not being delivered - it goes into the abyss and the bad news is there is no bounce back or trace unless you can get your service to check their server logs and confirm an issue, however you will lose all the web form mail that was sent over the black listed server. I lived through this nightmare last August, took over 40 hours of research then temp solutions then installing a permanent one to get past it.

I have done it both ways with the script on my hosting - this sometimes has long que's then bursts out the mail - THEN - outside services where they use shared servers and have lots of clients sending mail over their servers so getting black listed is more possible for them - but they are consistently much faster in the mail forward. If you use or are using an outside email service use the black list check resources I listed below to see if there are any current issues with their server domain names or IP's.

Best practice I have found is to use DHE to create the form on your site. I have never found a better easier one to use and it is integrated right into your WYSIWYG tool interface. Then I use a good PHP secure script like

formtoemail.com

If you have multiple sites and/or client sites to manage the PRO package is well worth it - I've used it for years now and it's stable, secure and the best I've ever found.

Put the script in your CGI folder and point all the DHE forms to it. You can set up bcc's, redirect landing pages and a lot more with it too. The best instructions I've ever seen are written in for every line of optional code and there are way more than you will ever use.

If you copy and paste the script into your CGI folder numerous times you can rename them and set up specific scripts for specific forms allowing you to set up different redirects and email forwards, features, etc OR you can just use one script and then the DHE form builder option to add the specific form fields that identify what that form is when it comes through to you.

I also love the way DHE gives me the option to easily choose and set java script code to any field on the form so that I get the info I need entered correctly on the form before it is sent. That is much cleaner in user experience with the java pop-up than the typical PHP page bounce back.

If you need more help both DHE and Form to Email they have the best owner / writer "right on" fast support I have seen. Davide is the best in what he does and the script guy is good too.

Much success!

Here are the block list resources I use to be sure my hosting and my email servers are clean and not blocked

http://www.spamhaus.org/lookup/

http://www.mxtoolbox.com/

http://www.senderbase.org/

ps -I also buy dedicated IP's to avoid shared server problems with spammers

Edited by - WebSupport101 on 20 Feb 2013 16:21:31
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000