Content Types - Generate machine name onblur
marco.robotangel - December 17, 2007 - 01:03
| Project: | Drupal |
| Version: | 6.x-dev |
| Component: | node system |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active (needs more info) |
Jump to:
Description
Especially for newbies in sense of Drupal and/or web programming the field "machine name" is quite confusing. It was suggested ([1]) to just generate it onblur and not to confuse the user with that.
To keep flexible it should be possible to edit that name afterwards.

#1
tag for drupal newbie
#2
huh? generate a machine name during a javascript event? i do not follow ... i think specifiying a machine name is very handy. note that CCK fields and Views both have this concept. Perhaps we just need to standardize on terminology.
#3
The suggestion was to automatically (with JS) create a machine name ('Type') based on more-human name ('Name') and populate the 'Type' field with it (also with JS).
I agree that specifying a machine name is very handy. This would streamline that process for common names and users that don't know or care about the machine name.
#4
oh - good idea.