WPtouch Mobile Plugin
[resolved] Error: Form elements must not have name or id of "submit" (8 posts)

  1. diego.cortassa
    Posted 2 years ago #

    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


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


    <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.


  2. BraveNewCode Inc.
    Plugin Author

    Posted 2 years ago #

    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.

  3. andrew_james
    Posted 2 years ago #

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

  4. gbunz
    Posted 2 years ago #

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

  5. andrew_james
    Posted 2 years ago #

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


    Does that help?

  6. gbunz
    Posted 2 years ago #

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

    which folder am i looking in?

  7. andrew_james
    Posted 2 years ago #

    It's this folder:


    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.

  8. gbunz
    Posted 2 years ago #

    oh gotcha! thanks!!! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WPtouch Mobile Plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.