|
Post by Michael on Nov 18, 2021 22:47:22 GMT
Hi everyone, I'm trying to use a image file for my submit button on a contact form, I know it will work because I used this image file before, but I can't remember how I did it. Does anyone know?
Michael
|
|
|
Post by Frank on Nov 19, 2021 3:16:57 GMT
I would assume it would be an image with a triggerEvent click but can't figure it out. Sorry, Frank
|
|
|
Post by Frank on Nov 21, 2021 17:50:22 GMT
I have not figured out how to use the trigger event to click the submit button?
but Julian mentioned there is a straight forward way to add an event to an image:
"...in the image click event - which submits the first form on the page. Might still need the hidden Send button present on the page somewhere"
add the following: document.forms[0].submit()
It works, hope this helps, Frank
|
|
|
Post by Michael on Nov 23, 2021 22:57:26 GMT
It seems to be working, I sent a test message so we will see. Thanks Frank, and Julian. Sorry I haven't got back to you, Ive been working on my Christmas Light show.
Michael
|
|