The code generated is incorrect. See the input id and label for.

URL:

Comments

Gabriel R.’s picture

 <div class="form-item">
  <label for="booklinks][0">URL:</label><br />
   <input type="text" maxlength="255" class="form-text" name="edit[booklinks][0]" id="booklinks][0" size="45" value="" />
</div> 
Gabriel R.’s picture

The problems occur in bookreview.module

144: authors][$i should be authors[$i]
155: booklinks][$i should be booklinks[$i]
157: linkdescriptions][$i should be linkdescriptions[$i]

gábor hojtsy’s picture

Title: invalid code generated » Invalid ids generated for form elements
Project: Book Review » Drupal core
Component: Code » base system

Drupal's ID generation is (was?) buggy, so this should be fixed there. This is (was?) a problem with form elements.

wulff’s picture

Status: Active » Fixed

Can't be reproduced in current HEAD. for and id attributes have the correct values.

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)