Ok, FrontPage has decided to try to be helpful - when I don't want it to be (never liked FP, but job requires using it).
I have a program that generates a form for me, that contains 2 hidden fields and a submit button. It generates the form and copies it to the clipboard in a manner that allows it to be pasted into FP.
Here is an example form:
The first form placed on the page works just fine, but subsequent forms fail to work properly (target script reports problem).
I have found out that FP - while trying to be helpful, renames the merchant and sku fields - to keep unique names.
The target script is dependent on the merchant and sku fields being named properly, but the subsequent ones are name merchant# and sku# (where # represents a number).
I can understand renaming if the field were within a form that already had that field name, but a separate form on the same page should allow that (just IDs that are separate).
Anyone know how to turn this "helpfulness" off?
I have a program that generates a form for me, that contains 2 hidden fields and a submit button. It generates the form and copies it to the clipboard in a manner that allows it to be pasted into FP.
Here is an example form:
Code:
<form method="post" action="[URL unfurl="true"]http://some_processor.php">[/URL]
<input type="hidden" value="m_id" name="merchant">
<input type="submit" value="Quick Buy">
<input type="hidden" name="sku" value="T013201">
</form>
The first form placed on the page works just fine, but subsequent forms fail to work properly (target script reports problem).
I have found out that FP - while trying to be helpful, renames the merchant and sku fields - to keep unique names.
The target script is dependent on the merchant and sku fields being named properly, but the subsequent ones are name merchant# and sku# (where # represents a number).
I can understand renaming if the field were within a form that already had that field name, but a separate form on the same page should allow that (just IDs that are separate).
Anyone know how to turn this "helpfulness" off?