Click here to Skip to main content
15,893,622 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

In my website after giving the details like amount, name, email_id, and contact number and when I click on submit it should redirect to page
"https://payjunction.com/live/shop/snap_check_out" by showing the details what I filled in the form.

Its redirecting in mozilla but not in IE.

Here's my code.
div id = "test">
<form method = "post" id = "Payment" action="https://payjunction.com/live/shop/snap_check_out" onsubmit="return ValidateAmount(document.Payment);">
<table width="975" cellpadding="0" cellspacing="0" align="Center" border="1" bordercolor="maroon">
<tr>
<td>
<table width="975" cellpadding="0" cellspacing="0" align="Center">
<tr>
<td>
<table id="Table_01" width="975" style ="height:175; border:0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="images/home_01.jpg" width="174" height="175" alt="" />
</td>
<td>
<img src="images/home_02.jpg" width="257" height="175" alt="" />
</td>
<td>
<img src="images/home_03.jpg" width="268" height="175" alt="" />
</td>
<td>
<img src="images/home_04.jpg" width="192" height="175" alt="" />
</td>
<td>
<img src="images/home_05.jpg" width="95" height="175" alt="" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" cellpadding="0" cellspacing="0" style="text-align:center; background-color:#ffc726; height:25; font-family:Verdana; ">
<tr class="hplnks">
<td align="center"><span ><a href="/KB/answers/default.aspx" class="hplnks">Home</a></span></td>
<td>|</td>
<td align="center"><span ><a href="/KB/answers/aboutus.aspx" class="hplnks">About Us</a></span></td>
<td>|</td>
<td align="center"><span class="style28"><a href="/KB/answers/courses.aspx" class="hplnks">Courses</a></span></td>
<td>|</td>
<td align="center"><span ><a href="/KB/answers/freedemo.aspx" class="hplnks">Free Demo</a></span></td>
<td>|</td>
<td align="center"><span ><a href="/KB/answers/NewRegistrationForm.aspx" class="hplnks">Register</a></span></td>
<td>|</td>
<td align="center"><span ><a href="/KB/answers/contactus.aspx" class="hplnks">Contact Us</a></span></td>
<td>|</td>
<td align="center"><span ><a href="/KB/answers/feedback.aspx" class="hplnks">Feedback</a></span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table align="center">
<tr><td>&nbsp;</td></tr>
<tr>
<td align="center" style="width:400px; background-color:#b80f08;font-family:Verdana; font-size:small; font-weight:bold; color:White">
Registration Form </td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table style="border:0" cellpadding="0" cellspacing="2" align="center">
<tr><td>&nbsp;</td></tr>
<tr>
<td style="font-family:Verdana; font-size:x-small; font-weight:bold">Total Amount &nbsp;</td>
<td style="font-family:Verdana; font-size:smaller; font-weight:bold"><input type="text" name="amount_text" onkeyup="DigitOnly(this);" />&nbsp;$</td>
</tr>
<tr>
<td style="font-family:Verdana; font-size:x-small; font-weight:bold">First Name </td>
<td><input type="text" name="billingFirstName" /></td>
</tr>
<tr>
<td style="font-family:Verdana; font-size:x-small; font-weight:bold">Last Name</td>
<td><input type="text" name="billingLastName" /></td>
</tr>
<tr>
<td style="font-family:Verdana; font-size:x-small; font-weight:bold">Email</td>
<td><input type="text" name="billingEmail" /></td>
</tr>
<tr>
<td style="font-family:Verdana; font-size:x-small; font-weight:bold">Skype ID</td>
<td><input type="text" name="notes" /></td>
</tr>
<tr>
<td style="font-family:Verdana; font-size:x-small; font-weight:bold">Contact Number</td>
<td><input type="text" name="billingPhone" onkeyup="DigitOnly(this);" /></td>
</tr>
</table>
</td>
</tr>


<tr>
<td>
<table align="center">
<tr><td>&nbsp;</td></tr>
<tr>
<td style="font-family:Verdana; font-size:x-small; font-weight:bold">
<u>Terms and Conditions</u>
</td>
</tr>
XML
<tr>
                    <td style="font-family:Verdana; font-size:x-small; font-weight:bold; height: 63px;" colspan="2" align="center">
                      <input id="Checkbox1" type="checkbox" value="Accept Terms and Conditions" />&nbsp;&nbsp;Accept Terms and Conditions
                    </td>
                  </tr>

XML
<tr>
                   <td colspan="2" align="center" >
                      <input type="submit" name="submit" value="Pay Now" style="font-family:Verdana; font-size:x-small; font-weight:bold" onclick="return validate_form (document.Payment);" />
                   </td>
                 </tr>

XML
<input type="hidden" name="store" value="steve@influxsoft.com" />
       <input type="hidden" name="need_to_ship" value="no" />
       <input type="hidden" name="need_to_tax" value="no" />
       <input type="hidden" name="identifier" value="Influx Training" />
       <input type="hidden" name="description" value="Online Registration" />
       <input type="hidden" name="quantity" value="1" />
       <input type="hidden" name="price" />





Please help me out of this problem.

Thank you,
Krishna
Posted
Updated 30-Jan-10 14:24pm

1 solution

I have created a HTML page using your code. It's worth noting, your question is about HTML and not ASP.NET, there's nothing server side going on here. I found that your validation plain does not work, and in IE I got this message:

CSS
QuickShop - Format Error: Check that your data is valid 


ERROR 
-   price is required.


I got this message no matter what I entered into your page. In fact, it was Safari that told me the certificate on the site you redirect to is invalid, which is, I would guess, why later versions of IE refuse to show it, because of security issues with the site.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900