<SCRIPT LANGUAGE='JavaScript'>document.FormName.AMI.value=RF2N('Total');
</script>
Thanks for your reply!
unfortunately it doesn't work for me. This is my code:
<td align=right>
<font face="arial" size=2
color=#000000 class="esm_ty_font"><h4>
<SCRIPT
LANGUAGE='JavaScript'>RF2N('Total');</script>
</h4>
</td>
</tr>
</table>
</td>
</tr>
</table>
<p><!-- The Way2Pay Button HTML begint hier -->
<form action="
https://merchant.way2pay.nl/merchant/payments-w2p.asp"
method=post id=form1
name=form1>
<input type="hidden" name="MERID" value="xxxxxxx">
<input type="hidden" name="MNAME" value="xxxxxxx">
<input type="hidden" name="ITEMNAME" value="Bestelling">
<input type="hidden" name="TID" value="orderID">
<SCRIPT LANGUAGE='JavaScript'>document.formName.AMT.value=RF2N('Total');
</script>
<input type="hidden" name="SURL" value="
http://www.nu.nl">
<input type="hidden" name="FURL" value="
http://www.nu.nl">
<input type="image" border="0" name="IMAGEFIELD"
src="
https://www.way2pay.nl/pix/voorstel1/betaalnu_klein2_nieuw.gif"
alt="Betaal met
Way2Pay">
</form>
<!-- The Way2Pay Button HTML eindigt hier --> </p>
-----
The javascript on the third line prints the total amount of the order. The
javascript call in the form sets a value of 0 to AMT.
the orginal line in the form is
<input type="hidden" name="AMT" value="XX">
any idea's?
Thanks for all your help.
Otto