Adding form action to a graphic

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 ‘name’…???

Must be some easy way to do this…I hope!

Hugh


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Hugh,
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
dialog box.
Add the form action (RomanCart Shopping Cart System) and set method
to post.
Add each of the hidden fields (for example);
name: itemname
value: Nice Piece of Jewelry

Regards,
Tim.

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
‘name’…???

Must be some easy way to do this…I hope!

Hugh

FreewayActions.com - Freeware and shareware actions for Freeway
Express & Pro.

Protect your mailto links from being harvested by spambots with Anti
Spam.
Only available at FreewayActions.com

http://www.freewayactions.com

FreewayActions.com - Freeware and shareware actions for Freeway
Express & Pro.

Protect your mailto links from being harvested by spambots with Anti
Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Tim,

Thanks!. I think I’ve got that…(although I’m doing this in FW 3)

I’ve got multiple items, though. How do I add all those separate items into the Page > form dialogue?..because I’m going to repeating hidden fields but with different values…aren’t I?

There’s no way to attach the whole bang of code (easy copy and paste) to the graphic, then?

Hugh


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

As a rider to the above…

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!

H.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options