HTML Form Submission - HELP

Rad

...
Reaction score
224
OK Alot of you know im working on a site... mainly to help TH but I dunno. ANYWAYS, I cant figure out how to get this stupid for to work right. Its all really nice just how I want it, only problem is the 'Submit' button. It works right, but when you click it outlook express opens up. I know why it does that, but I dont know how to make it automatic. Heres a picture of what the form looks like.

Right, so when you hit SUBMIT it opens outlook express and says...
Code:
Hero_Class=%60CLASS%60&Description%3A+=%60DESCRIPTION%60&Spell_One%3A+=%60SPELL_A%60&Spell_Two=%60SPELL_B%60&Spell_Three=%60SPELL_C%60&Final+Spell=%60ULTIMATE%60&User_Name=%60NAME%60
As you can see, its all in 1 line. Not only that, but for the centering and the <BR> I used it put a bunch of worthless %60&+ etc in. Now I've heard from many people, including The Helper himself it requires PHP/Java scripting. I found a few sources for this. They sucked! They dont tell you how to set it up.

So is anyone capable of setting up the coding that I can easily input to my HTML document? Heres some of the key data

Hero Class: <input type =" input" id="01 - <Center>Hero Class<BR>" name ="Hero_Class" value =" " size=16>
Hero Description: <TEXTAREA id="Description: " name="Description: " rows="1" cols="35">
Spell One (etc): <TEXTAREA id="Spell One: " name="Spell_One: " rows="3" cols="40">
Ultimate:<textarea name="Final Spell" cols="40" rows="4" id="Final_Spell">
Name:<input type =" input" id="01 - <Center>Your_Name<BR>" name ="User_Name" value="Your_Name" size=16>

If theres anything else you need let me know... Please help me Ill give rep! (Think mines worth around 10 or something)
 
Helper said you need a form mail script. Which is true.

Your trying to email that stuff manually. So it opens outlook to email it instead.

Matt's script archive has his formail script. It is so good, almost all web hosts use it.

IN FACT - our web host already has it build in- so I don't have to download ANYTHING. All you do is put the appropriate fields into the formmail script, like this:

http://www.griffonrawl-ohio.com/info.php

You see? I use it to email the instructor.

Heres the code.
Code:
<form method="POST" action="http://www.yoursite.com/bin/[b]formmail.pl[/b]">
<input type="hidden" name="recipient" value="[email protected]">
<input type="hidden" name="subject" value="This is the subject line">
<input type="hidden" name="redirect" value="yourthankspage.htm">
<input type="hidden" name="required" value="realname,email">

Your Name:<input type="text" name="realname" size="30">
Email Address:<input type="text" name="email" size="30">
Phone Number:
<input type="text" name="phone" size="30">
Message:
<textarea name="message" cols="50" rows="7" wrap>
</textarea>
<input type="Submit" value="Submit"> 
<input type="Reset" value="Reset"> 
</form>
 
Ah ok Ill try to get that to work Ryoko. I downloaded many many formail script. Funniest thing is they didnt even work -_-

EDIT: Didnt work...

Code:
<form method="POST" action="[b]http://giant-halfling.thehelper.net/heroform.html[/b]">
<input type="hidden" name="recipient" value="[b][email protected][/b]">
<input type="hidden" name="subject" value="[B]Hero Submission Form[/B]">
<input type="hidden" name="redirect" value="[B]http://gianthalfling.thehelper.net.html[/B]">

What did I do wrong? Is it the first part? Your code said like .pl or something... whats that? How do I set up the other pages?! :nuts:

Edit again: I think all I need is to set up the first part with the bin/formmail.pl. How do I set that up?

EDIT yet again: I think i got it to work, i hit submit and it redirects me to th.net but I dont get an email... WTF is a formmail and how do i set it up. Well I guess this is the same as my last edit lol
 
Not really worth the title BUMP, but I still need help people. Theres gotta be someone who knows how to set up the formmail.pl!
 
<form method="POST" action="http://giant-halfling.thehelper.net/heroform.html">

Why did you do that? The action is an 'html' file - which is wrong....

Your script should be a .pl, or .cgi, etc. Not html.

What did you download? Where did you put it?

Do a google for 'matts script archive'. Its the best formail script you can get. And its ONE file.
 
Yea see I have like no idea what a .pl is so couldnt really do anything with that part

EDIT: Am I supposed to edit anything in the file? Its all jibberish to me :rolleyes:
 
Rad, dont feel bad about having a problem with the form script. It is not hard it is just everything has to be exactly right.

The .pl thing you are looking at is a perl script file - it is the code that actually makes it all work.

<form method="POST" action="http://giant-halfling.thehelper.net/heroform.html">


is wrong - the action should be the name of the script you are submitting to, not the name of the page you are submitting. Your heroform page has input fields on it, you know where people type stuff, that is what is going to be submitted. The action above should tell where to submit that information to, which is the script. Here is another couple of examples of a form script

http://www.bizdoc.com/contactus.html -> uses formmail.pl
http://www.apexpipe.com/onlineinquiry.html -> uses formmail.php

The only thing I can say is that once you get it to work you are going to go duh - that was easy - because it really is once you do it a few times. Its really just cut and paste then you change the email address to where you want the email sent and change the path of the script to where it is on your server.
 
EDIT: Ohh yea thanks to 56k on MSN I got it to work. Well sort of he helped, not as much as u guys though thanks :D

I didnt know I had to delete the stuff I didnt need... :P (I left it like $referer = array ("") :P)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1
  • The Helper The Helper:
    Guys just a heads up I am going to be shutting the site down soon. I am just waiting on the NUON people to decide whether they want to transfer forum data and keep the discord. My email is [email protected] for anyone that wants to keep in touch and I have a facebook too. I will make an official post later. Love you guys and will miss everyone!
    +1
  • V-SNES V-SNES:
    Sent a pm @The Helper
  • Stephen Stephen:
    Oh no - please don't lose the Nuon content
    +1
  • The Helper The Helper:
    Someone email AtariAge and see if they want me to transfer the forum data over to it
  • Ghan Ghan:
    Could probably keep NUON stuff around here if we wanted.
  • Ghan Ghan:
    Hmm what to do about the World Editor site though?
  • Stephen Stephen:
    I'd rather personally just own a backup of the Nuon data than see it go to AtariAge honestly. If it gets enshittified as per usual, or if some of the "regular" Jaguar folks get there, it's not gonna be fun
  • The Helper The Helper:
    There will be a github of the forum data so the NUON Forum Data I guess would be available there
  • The Helper The Helper:
    World Editor is technically Ryoko stuff not mine you guys can keep that I am not in that even
  • jonas jonas:
    :( end of an era :(
  • The Helper The Helper:
    Dont think of it as an end jonas - think of it as a beginning, because really my friend that is what it is.
  • A Andyoyo:
    Thank you for the hard work over the years. It did not go unnoticed.

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top