Forum Moderators: phranque

Message Too Old, No Replies

bnbform.cgi form errors?

input form page

         

dw2830

4:11 am on Apr 27, 2004 (gmt 0)



I have a form that I am using bnbform.cgi to receive information in regard to consumers seeking information. THe problem is that when I hit the submit button I receive a dead page 404 or a page that says: "NO data_order list SPECIFIED!"

After filling our the form you should go to either:
"oops" page or a "thanks" page

this is the script:
<INPUT TYPE="HIDDEN" NAME="submit_to" VALUE="email@example.com">
<INPUT TYPE="HIDDEN" NAME="automessage" VALUE="mymessage">
<INPUT TYPE="HIDDEN" NAME="outputfile" VALUE="form1">
<INPUT TYPE="HIDDEN" NAME="countfile" VALUE="form1">
<INPUT TYPE="HIDDEN" NAME="emailfile" VALUE="form1">
<INPUT TYPE="HIDDEN" NAME="form_id" VALUE="Multi_Lead_Application">
<INPUT TYPE="HIDDEN" NAME="ok_url"
VALUE="http://www.example.com/thanks.html">
<INPUT TYPE="HIDDEN" NAME="not_ok_url"
VALUE="http://www.example.com/oops.html">

Thank for ay help you might be able to offer!

[edited by: oilman at 5:09 pm (utc) on April 27, 2004]
[edit reason] no specific urls please [/edit]

taifunweb

5:27 am on Apr 27, 2004 (gmt 0)

10+ Year Member



Hi there

Please follow those steps:

1. upload bnbform.cgi in your cgi-bin directory
2. chmod 755
3. please insert following

<INPUT TYPE="HIDDEN" NAME="submit_to" VALUE="email@example.com"> - OK

<INPUT TYPE="HIDDEN" NAME="automessage" VALUE="mymessage">

-put a txt file in your cgi-bin directory with name:mymessage. Rename it in cgi-bin directory to: mymessage.baut

<INPUT TYPE="HIDDEN" NAME="outputfile" VALUE="form1">

this will create a log file where you will get all information

<INPUT TYPE="HIDDEN" NAME="countfile" VALUE="form1">

this will count the number of orders submited.

<INPUT TYPE="HIDDEN" NAME="emailfile" VALUE="form1">

This file will contain only email addreses used in this form.

<INPUT TYPE="HIDDEN" NAME="form_id" VALUE="Multi_Lead_Application"> - Subject for email that will anounce that :"You have an order!"
<INPUT TYPE="HIDDEN" NAME="ok_url"
VALUE="http://www.example.com/thanks.html">
<INPUT TYPE="HIDDEN" NAME="not_ok_url"
VALUE="http://www.example.com/oops.html">

OK

NOW

Please insert following:

<INPUT TYPE="HIDDEN" NAME="data_order"
VALUE="field1, filed 2">

- you will put all fields that you will use for this form.
an exemple:

<INPUT TYPE="HIDDEN" NAME="data_order"
VALUE="name, submit_to, address, city, country and other fields that you will use in this form">

I hope you understand me, if not, You can send to me your order page and I will setup for you (free)

Best Regards
Titiu Claudiu

[edited by: oilman at 5:10 pm (utc) on April 27, 2004]
[edit reason] no sig urls please [/edit]