Gossamer Forum
Home : Products : DBMan : Customization :

replace the submit button....

Quote Reply
replace the submit button....
hi all,

i tried to replace the submit button with a gif file. what happens? the mouse coordinates will be added to the query string and I get an error. how can i fix this ??

desp
Quote Reply
Re: replace the submit button.... In reply to
I haven't used this myself, but I have seen where others have.

You need to add a hidden field to the form. For example, if you wanted to replace the button on the add form, you would use

<INPUT TYPE="hidden" NAME="add_record" VALUE="1">

and then, for your image button, use

<INPUT TYPE=image src="button.jpg" border=0 ALT="Add" VALUE="Submit">

I understand this will work, but I haven't tried it.


------------------
JPD





Quote Reply
Re: replace the submit button.... In reply to
jipie

it works Smile thank you Smile