Home

   Home

   Download


Help

   FAQ

   Installation

   Message Board

   Importing Data File
   Into GoldMine
   Into Act


Other

   Testimonies

   Custom Programming

   PHP Version


Other Favorites

   Hire a clean comedian

   Bible Search Engine

   Bible in a Year

   Parallel Bible

   The Richer Life










 





[ Message Board Home ]    [ Post Reply ]    [ Log In ]    [ Sign Up ]



  Subject: <%_____%> not working
  Posted: 08/03/2004 at 6:31:57 pm
  By: dracomagi

here is the form page code: I replaced the success.html with the default and is still does not work so that's not the issue I also checked to make sure the line was commented in my main cgi/pl file
===
<head>
<title>Free44.net: Contact Form</title>
<link href="css/free44.css" rel="stylesheet" type="text/css">
</head>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function checkEmail(verify) {
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(verify.email.value)){
return (true)
}
alert("Verify your email address.")
return (false)
}
// End -->
</script>
<body background="a/bk.jpg" bgproperties="fixed">
<form method="post" action="/form/bizmail.pl" onSubmit="return checkEmail(this)">

<input type="hidden" name="subject" value="(General Form) | msg: no spam">
<input type="hidden" name="text_qualifier" value="1">
<input type="hidden" name="data_format" value=" ">
<input type="hidden" name="html_mesfile" value="form/html.mes">
<input type="hidden" name="plain_mesfile" value="form/plain.mes">
<input type="hidden" name="reply_subject" value="RE: Automated reply to: {firstname} | msg: no spam">
<input type="hidden" name="sendreply" value="1">
<input type="hidden" name="required" value="email,firstname,lastname,comments">
<input type="hidden" name="success_page" value="http://free44.net/form/success.html">
<!-- <input name="cc_to" type=hidden value="1">
<input name="send_to" type=hidden value="1"> -->

<div align="center">
<table width="450" border="0" cellpadding="0" cellspacing="0" class="tables">
<tr>
<td width="504" height="1" colspan="2" class="table-header">
<p align="center">
  <b><br>
Free44.net | Contact Form<br>
 </b>

</p>
</td>
</tr>
<tr>
<td align="right" width="233"> </td>
<td width="269"> 

</td>
</tr>
<tr>
<td align="right" width="233"><em>Reason for Contact :</em></td>
<td width="269">
<select name="send_to" class="inputselections">
<option value="1">| Refer a Friend |</option>
<option value="2" selected>| Signup |</option>
<option value="3">| Support |</option>
<option value="4">| Other |</option>
</select>

</td>
</tr>
<tr>
<td align="right" width="233">Email Reply
Preference: </td>
<td width="269">
<select name="message_format" class="inputselections" >
<option value="html">Default: HTML</option>
<option value="plain">Plain/Text</option>
</select></td>
</tr>
<tr>
<td align="right" width="233"> </td>
<td width="269"> </td>
</tr>
<tr>
<td align="right" width="233">
 My Email: </td>
<td width="269">
<input name="email" type="text" class="inputselections" value="" size="23">
</td>
</tr>
<tr>
<td align="right" width="233"> My First Name: </td>
<td width="269" >
<input name="firstname" type="text" class="inputselections" value="" size="23" ></td>
</tr>
<tr>
<td align="right" width="233"> My Last Name: </td>
<td width="269" >
<input name="lastname" type="text" class="inputselections" value="" size="23" ></td>
</tr>
<tr>
<td align="right" width="233" > My Address: </td>
<td width="269" >
<input name="address" type="text" class="inputselections" value="" size="23" ></td>
</tr>
<tr>
<td align="right" width="233" > My Contact Phone: </td>
<td width="269" >
<input name="phone" type="text" class="inputselections" value="" size="23" ></td>
</tr>
<tr>
<td align="right" width="233" height="10">   </td>
<td width="269" height="10"> </td>
</tr>
<tr>
<td align="right" height="10"> </td>
<td width="269" height="10"> </td>
</tr>
<tr>
<td align="right" width="233" >Comments Box: </td>
<td width="269" > </td>
</tr>
<tr>
<td align="right" colspan="2" width="504" >
<p align="center"><font size="2" face="Verdana" color="#12417C"><textarea name="comments" cols="41" rows="4" class="inputselections" ></textarea>
</font></p>
</td>
</tr>
<tr>
<td colspan="2" width="504"> </td>
</tr>
<tr>
<td align="right" colspan="2" width="504" >
<p align="center"><input name="Send" type="submit" class="inputselections" value="Send Info" >
</td>
</tr>
<tr>
<td colspan="2" width="504"> 

</td>
</tr>
</table>
</blockquote>
<p></div></form>
===



  Subject: Re: <%_____%> not working
  Posted: 08/04/2004 at 5:32:12 am
  By: ronny

Hi Dracomagi

for the <% %> tags to work in the success page you have to pass the values through the url.

To do this edit the hidden field in your form:
<input type="hidden" name="success_page" value="http://free44.net/form/success.html">

to something like this:
<input type="hidden" name="success_page" value="http://free44.net/gci-bin/success.cgi?p=1&firstname={firstname}&lastname={lastname}&email={email}">

The names of the fields in the form should go between the {}

Seth explains envloping in the read me file of the success page when you downlaod the script so have a read through that.

Hope it helps



  Subject: Re: <%_____%> not working
  Posted: 08/04/2004 at 11:36:14 am
  By: dracomagi

oh yeah I forgot about that thanks,

I musta been tired.. Thanks alot



  Subject: Re: <%_____%> not working
  Posted: 08/04/2004 at 11:46:09 am
  By: dracomagi

just getting a blank page for success page when I modify that line..

form is still working just not success page.



  Subject: Re: <%_____%> not working
  Posted: 08/04/2004 at 12:34:59 pm
  By: Seth Knorr

Firstly post the address that the actual form is located URL. Secondly if using the success page module, as explained in the readme, you must upload the success page to your cgi-bin. and then configure success.cgi, to show that page. And then select that page on your form.

Seth



Reply To This Topic

Subject
Message  
Username
Password
Due to unrelated post's, you must have an
account to post a message. To Sign Up click here.




Copyright 2000-2010 Seth M. Knorr,
BizMailForm.com Forms Processor, All Rights Reserved