I'm using a form for my contact page which is linked to a PHP page to send the mail. I'd really like to create a custom submit and clear button for my html page which I think I read requres using a Image Widget but for some reason it doesn't function. Do I need to add a variable to the PHP so it will work? here's the code on the HTML code embedded in a FORM TAG
chriscrooz wrote:I'm using a form for my contact page which is linked to a PHP page to send the mail. I'd really like to create a custom submit and clear button for my html page which I think I read requres using a Image Widget but for some reason it doesn't function. Do I need to add a variable to the PHP so it will work? here's the code on the HTML code embedded in a FORM TAG
You don't have any event code to make them do whatever you want them to do. The standard Submit and Reset TYPES have that code built into them, but when you want a custom image, you have to use TYPE=image, so you lose the built-in functionality. You will have to add an OnClick attribute calling some Javascript code to do that.