Hello

I have two tablefield's on a page, both have the same id (tablefield-wrapper-0, tablefield-0)

Comments

juves’s picture

Title: Markup error » Invalid markup
proweb.ua’s picture

in template.php
paste

function THEME_tablefield_view($variables) {
  $attributes = array(
    'class' => array(
      'tablefield'
    ),
  );

  return '<div>'
    . theme('table',
      array(
        'header' => $variables['header'],
        'rows' => $variables['rows'],
        'attributes' => $attributes,
      )
    )
    . '</div>';
}

clear cache

jenlampton’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

This is a very old issue, and I cannot reproduce it today, as each table now has a unique ID. If the problem persists please reopen.