The field to enter author is shrunk!
riwaj - April 30, 2008 - 08:33
| Project: | Book Review |
| Version: | 5.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
The text box where I ought to enter is shrunken and can see just a character I type.
Any fix?

#1
Hi,
I just made a textfield from the field, so the code will be:
for ($i = 0; $i < $node->numauthors; $i++) {$form['book_infos']['authors']["author-$i"] = array(
'#type' => 'textfield',
'#default_value' => $node->authors[$i],
'#size' => 60,
'#maxlength' => 255,
'#description' => '',
'#prefix' => ($i%2) ? '<tr><td>' : '<td>',
It is still not very wide..but it is a start :)
Greetings,
Martijn