Help text unnecessarily repeated on unlimited value fields
drewish - August 2, 2009 - 06:38
| Project: | Email Field |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Putting help text on a single value form works great:

But it gets wonky with multiple values:

Seems like maybe email_textfield_process() should only pass the '#description' down when count($element['#columns']) == 1. I'll look at rolling a patch later.
| Attachment | Size |
|---|---|
| Single value | 7.42 KB |
| Unlimited value | 21.11 KB |

#1
I agree- this becomes very annoying when you have several lines of description text. However, I was not able to fix it myself in the manner that you described, so a patch would be appreciated. A good example of how this should behave is the standard text field, which only shows one description even for multiple values.
Also, it looks like the pictures in your post got overwritten by something completely unrelated... ? The attachments illustrate the problem though.
#2
I have this too - email behaves differently on even fields that are allowed 2 values, not just "unlimited". Here is a comparison of text field versus email field, both set to exactly 2 instances.
Fortunately, I had this already developed :)
http://dl.getdropbox.com/u/72790/email_field_oddness.png
#3
Is anyone able to roll a patch for this? I wasn't able to figure it out.