machinakias 2008-02-14 12:26
hi all..here again.I have this code here: <tr class="order_table"> <th colspan="3"> $lang[Summary_cost] </th> <th id="summaryCost"> $aList[fSummary] </th> </tr> <tr class="tfoot"> <td colspan="4"> CHECK OUT<input type="submit" value="$lang[send]" class="submit" /> </td> <tr class="tfoot"> <td colspan="4"> CREDIT CARD <input type="submit" value="$lang[send1]" class="submit" /> </td> this is the "send" button from the orders delivery form and an exact copy of it. so there are two buttons and i need to use the one of them to redirect to another page out of QC...for example to google....can you help me please? i'm stuck for 3 days here.....
» Quick.Cart v1.x 2008-02-14 22:45
Show us your form string EG: <form action=" -- ?? -- "; method="post" /> or what ever it is - I tried answering this for you before.....
machinakias 2008-02-15 08:44
oh...i know...well here is the hole damn thing...my orders delivery.tpl.... <!-- BEGIN FORM --> <script type="text/javascript" src="$config[dir_js]checkForm.js"></script> <script type="text/javascript" src="$config[dir_js]orders.js"></script> <form action="?p=$p" method="post" onsubmit="return checkForm( this, Array( Array( 'sFirstName' ) ,Array( 'sLastName' ) ,Array( 'sStreet' ) ,Array( 'sZipCode' ) ,Array( 'sCity' ) ,Array( 'sTelephone' ) ,Array( 'sEmail', 'email' ) ,Array( 'iCourier', 'simple', '$lang[Choose_courier]' ) ) );" id="oDeliveryForm"> <fieldset> <input type="hidden" name="sOption" value="send" /> <div class="order"> <h2>$lang[Order] - $lang[delivery_address]</h2> <table cellspacing="0"> <tr> <td> <table cellspacing="0" id="order_delivery"> <tr> <th> $lang[First_name]: </th> <td> <input type="text" name="sFirstName" value="$aData[sFirstName]" maxlength="20" onblur="saveUserData( this.name, this.value )" /> </td> </tr> <tr> <th> $lang[Last_name]: </th> <td> <input type="text" name="sLastName" value="$aData[sLastName]" maxlength="40" onblur="saveUserData( this.name, this.value )" /> </td> </tr> <tr> <th> $lang[Company]: </th> <td> <input type="text" name="sCompanyName" value="$aData[sCompanyName]" maxlength="100" onblur="saveUserData( this.name, this.value )" /> </td> </tr> <tr> <th> $lang[Street]: </th> <td> <input type="text" name="sStreet" value="$aData[sStreet]" maxlength="40" onblur="saveUserData( this.name, this.value )" /> </td> </tr> <tr> <th> $lang[Zip_code]: </th> <td> <input type="text" name="sZipCode" value="$aData[sZipCode]" maxlength="20" onblur="saveUserData( this.name, this.value )" /> </td> </tr> <tr> <th> $lang[City]: </th> <td> <input type="text" name="sCity" value="$aData[sCity]" maxlength="40" onblur="saveUserData( this.name, this.value )" /> </td> </tr> <tr> <th> $lang[Telephone]: </th> <td> <input type="text" name="sTelephone" value="$aData[sTelephone]" maxlength="30" onblur="saveUserData( this.name, this.value )" /> </td> </tr> <tr> <th> $lang[Email]: </th> <td> <input type="text" name="sEmail" value="$aData[sEmail]" maxlength="40" onblur="saveUserData( this.name, this.value )" /> </td> </tr> <tr> <th> $lang[Courier]: </th> <td> <select name="iCourier" onchange="ordersCouriers( this );"> <option value=""> $lang[choose] </option> $sCourierSelect </select> </td> </table> <script type='text/javascript'> <!-- window.onload = function( ){ checkSavedUserData( ); } //--> </script> <!-- END FORM --> <!-- BEGIN LIST_HEAD --> <table id="order_table" cellspacing="0"> <tr> <th> $lang[Name] </th> <th> $lang[Price] [$config[currency_symbol]] </th> <th> $lang[Quantity] </th> <th> $lang[Summary] [$config[currency_symbol]] </th> </tr> <!-- END LIST_HEAD --> <!-- BEGIN LIST_LIST --> <tr> <td> <a href="?p=productsMore&iProduct=$aList[iProduct]">$aList[sProduct]</a> </td> <td> $aList[fPrice] </td> <td> $aList[iQuantity] </td> <td> $aList[fSummary] </td> </tr> <!-- END LIST_LIST --> <!-- BEGIN LIST_FOOTER --> <tr> <th colspan="3"> $lang[Summary_basket] </th> <th id="orderCost"> $aList[fSummary] </th> </tr> <!-- END LIST_FOOTER --> <!-- BEGIN COURIER --> <tr> <td colspan="3"> $lang[Delivery_cost] </td> <td id="deliveryCost"> 0.00 </td> </tr> <tr class="order_table"> <th colspan="3"> $lang[Summary_cost] </th> <th id="summaryCost"> $aList[fSummary] </th> </tr> <tr class="tfoot"> <td colspan="4"> LINE 169 CHECK OUT <input type="submit" value="$lang[send]" class="submit" /> </td> <tr class="tfoot"> <td colspan="4"> LINE 173 CREDIT CARD <input type="submit" value="$lang[send1]" class="submit" /> </td> </tr> </table> </div> </fieldset> </form> <!-- END COURIER --> (sorry for double post)....