I tried to find some answer in all the topics but I didn't find it.
How I can add some fields into the form TAG with the PHP?
I need to insert this code into the tag form:
I tried to put a custom code action in the onload event as a Controller and View too but that doesn't work.
I tried to put the code in the no-wizzard code but nothing.
I need to put it without use the onsubmit event because I need to sent all the data via POST.
I can't use the Javascript, I need the PHP cause the MD5 calculation and for some security issues.
Can anyone help me?
How I can add some fields into the form TAG with the PHP?
I need to insert this code into the tag form:
<?php
echo "<input type=\"hidden\" name=\"MERCHANT_ID\" value=\"" . $merchant_id . "\" id=\"in1\" />\n";
echo "<input type=\"hidden\" name=\"ORDER_ID\" value=\"" . $orderid . "\" id=\"in2\" />\n";
echo "<input type=\"hidden\" name=\"IMPORTO\" value=\"" . $importo . "\" id=\"in3\" />\n";
echo "<input type=\"hidden\" name=\"DIVISA\" value=\"" . $divisa . "\" id=\"in4\" />\n";
echo "<input type=\"hidden\" name=\"ABI\" value=\"" . $abi . "\" id=\"in5\" />\n";
echo "<input type=\"hidden\" name=\"ITEMS\" value=\"" . $items . "\" id=\"in6\" />\n";
echo "<input type=\"hidden\" name=\"URLOK\" value=\"" . $urlok . "\" id=\"in7\" />\n";
echo "<input type=\"hidden\" name=\"URLKO\" value=\"" . $urlko . "\" id=\"in8\" />\n";
echo "<input type=\"hidden\" name=\"MAC\" value=\"" . $topost . "\" id=\"in9\" />";
?>
I tried to put a custom code action in the onload event as a Controller and View too but that doesn't work.
I tried to put the code in the no-wizzard code but nothing.
I need to put it without use the onsubmit event because I need to sent all the data via POST.
I can't use the Javascript, I need the PHP cause the MD5 calculation and for some security issues.
Can anyone help me?