Summary | New contact and disabled "name" field |
Queue | Turba |
Queue Version | Git master |
Type | Enhancement |
State | Assigned |
Priority | 2. Medium |
Owners | Horde Developers (at) , chuck (at) horde (dot) org |
Requester | thomas.jarosch (at) intra2net (dot) com |
Created | 04/17/2008 (6236 days ago) |
Due | |
Updated | 08/02/2009 (5764 days ago) |
Assigned | 06/12/2008 (6180 days ago) |
Resolved | |
Milestone | |
Patch | No |
State ⇒ Assigned
Priority ⇒ 2. Medium
didn't get started - yes?
get started - yes?
Assigned to
Assigned to Chuck Hagenbuch
determine which are which. I'll work on it.
on the display tab.. and showing the component fields (but not the
composite fields) on the edit tab?
since the updating field is initialized onload, so even if you give
'name' a default value, it gets immediately wiped to '' once the form
loads, since 'firstname' and 'lastname' are empty.
What about the idea of using CSS to make it not look like a form field?
The root of the problem is that the user does not really see that the
form field is disabled as it's empty by default. If the field would
contain something like "firstname lastname" and then gets cleared the
first time a user types something in the firstname field, all would be
fine.
'name' attribute from any of the tabs so it will not display. I know
it's not the best solution, but was offered as another option if
nothing else would work. :)
I modified Horde_Form_Renderer so that disabled variables are wrapped
in a class="form-disabled". Can we work with that and CSS to make it
look like text?
The idea about removing it from the display if your using a tabbed
display is still an option though.
State ⇒ Feedback
field and have the value ignored or overwritten when the last/first
name fields are edited?
You could always remove the 'name' field from display if it's really
bothersome for your users.
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Summary ⇒ New contact and disabled "name" field
Type ⇒ Bug
Queue ⇒ Turba
when you create a new contact, the first thing the user will try is to
type in the "name" field, which is a composite of firstname, lastname
and others.
The control is disabled and dynamically updated via Javascript.
Would it be possible to replace the disabled widget by text only
and still update it via Javascript? Other ideas?
Thomas