myshop-action-submit:
Entity | Value |
---|---|
Attribute(s) | style |
Type | action |
Relation | document |
In order to insert one’s own form into a document with its own layout the myShop addition myshop-action-submit can be used. The additions makes it possible to change a control element such as a button or link into a form submit button.
Line 19 of the example below shows how to use this addition.
<table style="myshop-block:productlist" border="1">
<thead>
<tr>
<td> </td>
<td> </td>
<td style="myshop-label:1;font-weight:bold"></td>
<td style="myshop-label:2;font-weight:bold"></td>
</tr>
</thead>
<tbody>
<tr style="myshop-block:product">
<td><a style="myshop-action:order">bestellen</a></td>
<td><a style="myshop-action:moreinfo">meer info</a></td>
<td style="myshop-value:1;color:red"></td>
<td style="myshop-value:2"></td>
</tr>
</tbody>
</table>
<input type="button" style="myshop-action-submit:http://www.mijnwinkel.nl?name={$ProductListName}" value="verstuur"/>
Post your comment on this topic.