Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'Must be non-empty.'

Viewing 2 results - 1 through 2 (of 2 total)
  • Author
    Search Results
  • Andrew
    Participant

    On HTML validator https://validator.w3.org/ I have 1 error:

    Bad value for attribute action on element form: Must be non-empty.
    <form action=”” name=”activity-loop-form” id=”activity-loop-form” method=”post”>

    Because in activity/activity-loop there is a form at the bottom with nothing in the action attribute:

    do_action( 'bp_after_activity_loop' ); ?>
    
    <?php if ( empty( $_POST['page'] ) ) : ?>
    
    	<form action="" name="activity-loop-form" id="activity-loop-form" method="post">
    
    		<?php wp_nonce_field( 'activity_filter', '_wpnonce_activity_filter' ); ?>
    
    	</form>
    
    <?php endif; ?>

    I searched these forums and someone already mentioned this:
    https://buddypress.org/support/search/Must+be+non-empty./

    I don’t think HTML5 allows the action attribute to be blank.

    #240827

    Topic: SEO issues

    in forum Ideas
    dxlwebs
    Participant

    Hi there i have been trying to get my site W3C validated and needless to say there is always something thats wrong lol, while i have been fixing a lot of other plugin issues i have come across a few in bbpress and buddypress:

    Groups cause:

    Line 323, Column 55: Bad value for attribute action on element form: Must be non-empty.
    <form action=”” method=”get” id=”search-groups-form”>
    Syntax of URL:
    Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20.
    Error Line 328, Column 75: Bad value for attribute action on element form: Must be non-empty.
    <form action=”” method=”post” id=”groups-directory-form” class=”dir-form”>
    Syntax of URL:
    Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20.

    activities:

    Line 1339, Column 332: An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.
    …mmunity.org/wp-content/plugins/wp-o-matic/cache/4e960ed179_jCDJ7WbHP0A.” /></p>

    Error Line 1380, Column 81: Bad value for attribute action on element form: Must be non-empty.
    …form action=”” name=”activity-loop-form” id=”activity-loop-form” method=”post”>
    Syntax of URL:
    Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20.

    Now i know and understand that the WP-O-Matic one is

      not

    Buddypress but im having issues finding its point of origin is it from buddypress or is WP-o-matic adding it there.

    but the other issues should be attended too i know they are silly little things but SEO is extremely important and something like this wouldnt take very long to resolve for instance adding # to the forms that dont get redirected to another location.

    like i said i know its not a priority but if you had time i’d be extremely grateful.

    Kind Regards

Viewing 2 results - 1 through 2 (of 2 total)
Skip to toolbar