Select the graphic and in the inspector palette click on the third tab
(Item output settings) and click on the Submit checkbox at the bottom
of the palette. This makes your image a submit button for your form.
Now you can ad your form fields and action using the Page/ Form Setup
Add the form action (http://www.romancart.com/cart.asp) and set method
Add each of the hidden fields (for example);
value: Nice Piece of Jewelry
On 11 Nov 2009, at 12:38, hugh wrote:
I need to add a form action to a graphic - specifically some
shopping code to a ‘buy’ button.
I’ve got the graphic image in place, but how do I attach the
following code to it?..
If i try and use ‘Extended’ for the graphic, the dialogue asks for a
What I’ve done in the past is to add the individual snippets into markup items. So I have a column of 30 table cells, each with a markup item containing its own relevant code, code which calls a graphic ‘buy’ button.
This works fine as a functional button. But is it possible to get the graphic to centre horizontally and vertically in the table cell?..is it hell !! Absolutely no chance whatsoever. In the end I gave up and left it as an unsightly left aligned mess, but at least the buttons worked!
However, it really is time to make things neater, hence the question re attaching code ‘to the graphic’…because I can centre a graphic item correctly, I just can’t centre a markup item!