Support » Plugin: WPtouch » Error: Form elements must not have name or id of "submit"

  • Resolved diego.cortassa

    (@diegocortassa)


    I get this error:
    Error: Form elements must not have name or id of “submit”
    when trying to comment a post using a IPhone or Android.

    I solved the problem patching wptouch/themes/default/comments.php line 125

    from:

    <input name="submit" type="submit" id="submit" tabindex="5" value="<?php _e('Publish', 'wptouch'); ? > " />

    to:

    <input name="submit_blah" type="submit" id="submit_blah" tabindex="5" value="<?php _e('Publish', 'wptouch'); ? > " />

    I think I get this error only when “Comment images” http://tommcfarlin.com/comment-images/ is active too.

    http://wordpress.org/extend/plugins/wptouch/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author BraveNewCode Inc.

    (@bravenewcode)

    It sounds as if you’re experiencing a conflict with the plugin mentioned. Although the free version of WPtouch is unable to work around errant plugins, WPtouch Pro may be configured to deactivate conflicting plugins in the mobile theme.

    This diego! This fixed the same problem on my site as well. Cheers!

    can’t find the wptouch/themes/default/comments.php file, help!

    so it would actually be on a much higher level than that. You should be able to find it here:

    yoursite.com/public_html/wp-content/plugins/wptouch/themes/default/comments.php

    Does that help?

    mmm I’m new to all this so bare with me.

    which folder am i looking in?

    It’s this folder:

    yoursite.com/public_html/wp-content/plugins/wptouch/themes/default/comments.php

    So if you’re using some sort of file or ftp client software, like FileZilla for example. You log in and then click on your public_html folder, then that opens and you click on your wp-content folder. When that opens you click on the plugins folder, then when that opens find the wptouch folder, then themes, then default. The comments.php file should be in there.

    Download that file, make the changes and re-save.

    oh gotcha! thanks!!! 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error: Form elements must not have name or id of "submit"’ is closed to new replies.