WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. diego.cortassa
    Member
    Posted 1 year 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

    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/

  2. BraveNewCode Inc.
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year ago #

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

  4. gbunz
    Member
    Posted 1 year ago #

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

  5. andrew_james
    Member
    Posted 1 year ago #

    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?

  6. gbunz
    Member
    Posted 1 year ago #

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

    which folder am i looking in?

  7. andrew_james
    Member
    Posted 1 year ago #

    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.

  8. gbunz
    Member
    Posted 1 year ago #

    oh gotcha! thanks!!! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.