custom submit button

I’m sure I’ve seen this before but can’t find it in the manual…

I want a custom ‘submit’ button for a form. I think you select the item and then used ‘extended’ to source the image…??

Unfortunately, I can’t remember how to write the extended code correctly to use the custom image. is it something like img-source=‘submitbutton.gif’…??

Hugh


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

On Dec 1, 2008, at 8:30 AM, hugh wrote:

I’m sure I’ve seen this before but can’t find it in the manual…

I want a custom ‘submit’ button for a form. I think you select the
item and then used ‘extended’ to source the image…??

Unfortunately, I can’t remember how to write the extended code
correctly to use the custom image. is it something like img-
source=‘submitbutton.gif’…?

It’s much simpler than that. All you do is draw an image on the page,
then while it is selected, check the Submit checkbox in the Inspector.
That turns it into the correct code, which is (for your reference)

<input type="image" src="Resources/your_button.gif"  
name="YourButtonName" value="YourButtonValue" />

Walter


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

Brilliant, thanks Walter!


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

Odd thing is…I made my graphic the same ‘height’ (20px) as the default submit button, but now when it displays it isn’t aligned with the input text box.

The graphic button shows ‘align bottom’, but there isn’t such an option for the default submit.

??


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

Put the text input and the Graphic submit into the cells of a table - I always find for forms that this method keeps different items aligned/together much better.

David


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

Good idea - I agree with you, Dave, it does seem better behaved in tables.


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

…and what should I enter in the text box below the submit check box?


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

Not really important - Submit would be the obvious choice.

David


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