Support » Plugin: Contact Form 7 » [Plugin: Contact Form 7] Is there a way to give the HTML tag a name

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Unfortunately, there is not.

    Just out of curiosity, for what purpose do you use the name attribute?

    Thanks for replying Takayuki.

    A piece of javascript that displays an image as the submit button (with shadows) instead of a standard button.

    (it is a fancy submit button).

    EG:

    <div class="pwssubmitbutton">
      <a href="javascript:document.pwstest.submit()"
         onmouseover="document.pwstest.sub_but.src='http://x.x.x.x/wp-content/themes/wworld/images/btnsend2.gif'"
         onmouseout="document.pwstest.sub_but.src='http://x.x.x.x/wp-content/themes/wworld/images/btnsend.gif'"
         onclick="return val_form_this_page()">
      <img align="absbottom" class="si" src="http://x.x.x.x/wp-content/themes/wworld/images/btnsend.gif" border="0" alt="Send us a message" name="sub_but" />
      </a>
    </div>

    Regards,
    Peter.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Why not use id attribute of parent div element instead?

    Thanks, I’ll try that instead. Just had some issues accessing the form using the div id.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Contact Form 7] Is there a way to give the HTML tag a name’ is closed to new replies.