Go Back   Cyber Tech Help Support Forums > Software > Web Development & Graphic Design

Notices

Reply
 
Topic Tools
  #1  
Old October 18th, 2003, 07:52 PM
will2041 will2041 is offline
Senior Member
 
Join Date: Feb 2003
Location: Minnesota
Age: 22
Posts: 193
Online Forms

Hi all! I'm using NetObjects Fusion 7. What is the easiest way to set up an online form visitors can fill out, submit, then get sent to a page where it displays all the info they put in so they can print it? I'm assuming I'll need to have a cgi-script on the server to do this properly. Thanks in advance!!!!
__________________
"...this is hardly the time to be conjugating temporal verbs in the past impossible never tense!"
Reply With Quote
  #2  
Old October 18th, 2003, 07:55 PM
degsy's Avatar
degsy degsy is offline
Cyber Tech Help Moderator
 
Join Date: Jul 2001
Location: North-East, UK
Posts: 22,042
Blog Entries: 1
submit to where?

If you just want an email to you then use the standard formmail script.

http://www.scriptarchive.com/formmail.html
__________________
Cheers,
Degs

Please post back with your results
CTH Terms of Use

CTH Subscriptions :: Adaware Guide :: HijackThis
Reply With Quote
  #3  
Old October 18th, 2003, 08:41 PM
renegade600's Avatar
renegade600 renegade600 is offline
Certifiable Bum
 
Join Date: Sep 2003
O/S: Linux
Location: Jonesboro, Ar
Posts: 22,003
Check to see what your host offers first. form mail is available with some hosts. You do not need cgi. You can also do it in php. Check out the following for both types of scripts. http://www.cgi-resources.com/Program...rm_Processing/

For help in creating the actual form see
http://www.mtholyoke.edu/help/creati.../webmail.shtml
http://www.bignosebird.com/formls1.shtml

Me, I cheat, I use the php and the services of cgi2k.com - I usually do not have time to mess with creating forms.
__________________
Dan
Registered Linux User #382181 - Don't be irreplaceable; if you can't be replaced, you can't be promoted.

posting tips - cth tos - how to post hijackthis log





Reply With Quote
  #4  
Old October 19th, 2003, 06:40 AM
will2041 will2041 is offline
Senior Member
 
Join Date: Feb 2003
Location: Minnesota
Age: 22
Posts: 193
Well, I have FormMail set up right (I think) but online when I try the submit button I get "Error 405 Method Not Allowed
The requested method POST is not allowed for the URL /members/html/test_registration.html" where test_registration is the page name I have the form on. Any ideas what this could mean? I CHMODed the formmail script and test_registration to read/write/execute. Any ideas?
__________________
"...this is hardly the time to be conjugating temporal verbs in the past impossible never tense!"
Reply With Quote
  #5  
Old October 19th, 2003, 04:22 PM
Steven.Bentley Steven.Bentley is offline
CTH Subscriber
 
Join Date: Nov 2000
Location: West Yorkshire, UK
Age: 29
Posts: 3,840
Apparently you can sometimes get that error if you need to rename the .pl script to .cgi
__________________
Don't forget to post back with the results
Reply With Quote
  #6  
Old October 19th, 2003, 04:40 PM
will2041 will2041 is offline
Senior Member
 
Join Date: Feb 2003
Location: Minnesota
Age: 22
Posts: 193
I renamed it to .cgi and I still get the same problem. Weird thing is that if I make a simple form in Notepad, save it as html, upload, and try it, it works perfectly! I must be doing something wrong with the form creation in Fusion. Here's what I have for code in case it helps (I took out superfluous code):

<TR VALIGN=TOP ALIGN=LEFT>
<TD HEIGHT=380></TD>
<TD WIDTH=493>
<FORM NAME="LayoutRegion1FORM" ACTION="" METHOD=POST>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=216 NOF="LayoutRegion1">
<TR VALIGN=TOP ALIGN=LEFT>
<TD WIDTH=10 HEIGHT=22><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=10 HEIGHT=1 BORDER=0 ALT=""></TD>
<TD WIDTH=3><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=3 HEIGHT=1 BORDER=0 ALT=""></TD>
<TD WIDTH=1><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=1 HEIGHT=1 BORDER=0 ALT=""></TD>
<TD WIDTH=1><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=1 HEIGHT=1 BORDER=0 ALT=""></TD>
<TD WIDTH=2><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=2 HEIGHT=1 BORDER=0 ALT=""></TD>
<TD WIDTH=2><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=2 HEIGHT=1 BORDER=0 ALT=""></TD>
<TD WIDTH=68><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=68 HEIGHT=1 BORDER=0 ALT=""></TD>
<TD WIDTH=8><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=8 HEIGHT=1 BORDER=0 ALT=""></TD>
<TD WIDTH=36><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=36 HEIGHT=1 BORDER=0 ALT=""></TD>
<TD WIDTH=24><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=24 HEIGHT=1 BORDER=0 ALT=""></TD>
<TD WIDTH=2><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=2 HEIGHT=1 BORDER=0 ALT=""></TD>
<TD WIDTH=1><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=1 HEIGHT=1 BORDER=0 ALT=""></TD>
<TD WIDTH=4><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=4 HEIGHT=1 BORDER=0 ALT=""></TD>
<TD WIDTH=9><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=9 HEIGHT=1 BORDER=0 ALT=""></TD>
<TD WIDTH=5><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=5 HEIGHT=1 BORDER=0 ALT=""></TD>
<TD></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD HEIGHT=22></TD>
<TD COLSPAN=12 WIDTH=152><input type=hidden name="recipient" value="admin@lqpvstudentcouncil.org">
<form action="http://lqpvstudentcouncil.org/cgi-sys/FormMail.cgi" method=post><INPUT ID="Forms Edit Field1" TYPE=TEXT NAME="name" VALUE="" SIZE=19 MAXLENGTH=19></TD>
<TD COLSPAN=3></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=16 HEIGHT=16></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=2 HEIGHT=22></TD>
<TD COLSPAN=9 WIDTH=144><INPUT ID="Forms Edit Field2" TYPE=TEXT NAME="address1" VALUE="" SIZE=18 MAXLENGTH=18></TD>
<TD COLSPAN=5></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=16 HEIGHT=2></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=3 HEIGHT=22></TD>
<TD COLSPAN=9 WIDTH=144><INPUT ID="Forms Edit Field3" TYPE=TEXT NAME="address2" VALUE="" SIZE=18 MAXLENGTH=18></TD>
<TD COLSPAN=4></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=16 HEIGHT=23></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=6 HEIGHT=1></TD>
<TD COLSPAN=3 ROWSPAN=3 WIDTH=112><INPUT ID="Forms Edit Field4" TYPE=TEXT NAME="city" VALUE="" SIZE=14 MAXLENGTH=14></TD>
<TD COLSPAN=7></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=6 HEIGHT=1></TD>
<TD></TD>
<TD COLSPAN=4 ROWSPAN=3 WIDTH=16><INPUT ID="Forms Edit Field5" TYPE=TEXT NAME="state" VALUE="" SIZE=2 MAXLENGTH=2></TD>
<TD COLSPAN=2></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=6 HEIGHT=20></TD>
<TD></TD>
<TD></TD>
<TD ROWSPAN=3 WIDTH=40><INPUT ID="Forms Edit Field6" TYPE=TEXT NAME="zip" VALUE="" SIZE=5 MAXLENGTH=5></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=10 HEIGHT=1></TD>
<TD></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=15 HEIGHT=1></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=16 HEIGHT=14></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=4 HEIGHT=22></TD>
<TD COLSPAN=4 WIDTH=80><INPUT ID="Forms Edit Field7" TYPE=TEXT NAME="phone" VALUE="" SIZE=10 MAXLENGTH=12></TD>
<TD COLSPAN=8></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=16 HEIGHT=25></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=5 HEIGHT=24></TD>
<TD COLSPAN=2 WIDTH=70><INPUT TYPE=SUBMIT NAME="submit2" VALUE="Submit" ID="Forms Button1"></TD>
<TD COLSPAN=9></TD>
</TR>
</TABLE>
</FORM>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 NOF=LY>
<TR VALIGN=TOP ALIGN=LEFT>
<TD WIDTH=26 HEIGHT=32><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=26 HEIGHT=1 BORDER=0 ALT=""></TD>
<TD></TD>
</TR>
__________________
"...this is hardly the time to be conjugating temporal verbs in the past impossible never tense!"
Reply With Quote
  #7  
Old October 19th, 2003, 04:43 PM
Steven.Bentley Steven.Bentley is offline
CTH Subscriber
 
Join Date: Nov 2000
Location: West Yorkshire, UK
Age: 29
Posts: 3,840
I'm a bit confused as to why you have two seperate forms, with the first not having an action associated with it
__________________
Don't forget to post back with the results
Reply With Quote
  #8  
Old October 19th, 2003, 04:46 PM
degsy's Avatar
degsy degsy is offline
Cyber Tech Help Moderator
 
Join Date: Jul 2001
Location: North-East, UK
Posts: 22,042
Blog Entries: 1
Try using a relative path to the script rather than absolute

http://lqpvstudentcouncil.org/cgi-sys/FormMail.cgi

../FormMail.cgi
__________________
Cheers,
Degs

Please post back with your results
CTH Terms of Use

CTH Subscriptions :: Adaware Guide :: HijackThis
Reply With Quote
Reply

Bookmarks

Topic Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:35 PM.

[ RSS ]