HTML validator – Bad value for attribute action on element form
-
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.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘HTML validator – Bad value for attribute action on element form’ is closed to new replies.