TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,996
  • Total Topics: 21,327
  • Online today: 176
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 184
  • Total: 184

Some Form Help (non TP).

Started by gerrymo, February 04, 2006, 04:17:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gerrymo

I have a form that was created in Frontpage. I then use a form builder to make it all work (creates a .php form). They are taking up to 24 hours to get through to my inbox. How would I get the html version to work? This isnt something I know much about, but I do know Frontpage forms a notorius for not aorking as they should. I want the form sent to me by e-mail, then a thanks page (html) displayed.


The code from the form is below.


        <form method="POST" action="--WEBBOT-SELF--">
          <!--webbot bot="SaveResults"
          U-File="fpweb:///_private/form_results.txt" S-Format="TEXT/CSV"
          S-Label-Fields="TRUE" -->


Any help very welcome.

Paulie

I know its still php, but fantastico have this http://phpformgen.sourceforge.net/ or of course you can get it here ;)

gerrymo

Thanks. I tried that out a while back, and its pretty poor.

Paulie

Ahhh ok. I assume you googled for a html form generator?

gerrymo

I've tried a few, but they are very basic. The forms I use are quite big, and designed to suitthe site theme. This is why I wanted too try to use my own one.

Rasyr

The Subs-Post.php file in the Sources directory has several email functions that are used to send emails to users.

Perhaps you could adapt something along those lines to create an email form that send the results to you through email.

Create an article that has the form. Then create a PHP Article that is called on the submission of the form. In that PHP Article, call the elements of the form and format the information, and then call the function to email the results to you. The visible portion of this page would then be the "Thank You" page that you wanted to display.

I have not tried doing anything like this, but I think that it should work....


Eternity

#6
Quote from: gerrymo on February 05, 2006, 12:15:33 PM
I've tried a few, but they are very basic. The forms I use are quite big, and designed to suitthe site theme. This is why I wanted too try to use my own one.

When you use html forms you have to use MIME or something similar, if you have control panel you will usually have MIME already set up and then you set up a special file which you will use as a posting file. You then action the form to use the post html file and it uses MIME or a similar package to deliver the email to your inbox of the completed form. 

You get the form results in seconds of submission.

This website is proudly hosted on Crocweb Cloud Website Hosting.