[resolved] Submit Query text when using img for submit button (5 posts)

  1. nvr_di
    Posted 6 years ago #

    I have a sign-up form on my blog and I am using an img as the submit button but it seems wordpress doesn't recognize the image as the button and instead displays Submit Query over the image. Only the Submit Query text is clickable.

    Anyone know how to fix this?

    Thanks in advance!

  2. nvr_di
    Posted 6 years ago #

    Anyone have any clue?

    Here is the code I am using just in case it helps~

    <form name="form1" method="post" action="#">
    <input name="merchantid" type="hidden" id="merchantid" value="136794">
    <input name="ARThankyouURL" type="hidden" id="ARThankyouURL" value="#">
    <input name="copyarresponse" type="hidden" id="copyarresponse" value="1">
    <input name="custom" type="hidden" id="custom" value="0">
    <input name="defaultar" type="hidden" id="defaultar" value="411639">
    <input name="allowmulti" type="hidden" id="allowmulti" value="0">
    <input name="visiblefields" type="hidden" id="visiblefields" value="Name,Email1,">
    <input name="requiredfields" type="hidden" id="requiredfields" value="Name,Email1">
    <td><input name="Name" type="text" size="19"></td>
    <td>Email Address</td>

    <td><input name="Email1" type="text" size="19"></td>


    <p><span class="style1">(We will Always protect your privacy)</span></p>
    <div id="signupbutton"><INPUT TYPE="IMAGE" SRC="images/signupbutton.jpg" ALT="submit"></div>

  3. nvr_di
    Posted 6 years ago #

    Can anyone even just point me in the right direction? I'd really appreciate it!

  4. nvr_di
    Posted 6 years ago #

    Anyone? Please!

  5. nvr_di
    Posted 6 years ago #

    I fixed it by changing this:
    <div id="signupbutton"><INPUT TYPE="IMAGE" SRC="images/signupbutton.jpg" ALT="submit"></div>

    To this:
    <input type="image" name="submit" value="submit" class="sbutton" src="http://url.com/wp-content/themes/themename/images/signupbutton.jpg" />

Topic Closed

This topic has been closed to new replies.

About this Topic