Closed (fixed)
Project:
Feedback
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2005 at 19:00 UTC
Updated:
5 Oct 2005 at 22:00 UTC
Jump to comment: Most recent file
For the Postal-Adress would be a textarea with about 4 lines better than a single line input field.
Because i don't even know one adress which fits in one line:
example for a german adress:
Hans Müller
Hauptstr. 3
83748 Deppendorf
Deutschland
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | textarea_0.patch | 874 bytes | Tobias Maier |
| #2 | feedback.module_0.patch | 30.43 KB | Tobias Maier |
| #1 | feedback.module.patch | 30.03 KB | Tobias Maier |
Comments
Comment #1
Tobias Maier commentedHello,
i created a patch, which does the following things:
Errornous Fields are outlined and marked red.
I think we should also change the following things:
especially the Error Messages
they have to be more friendly :D
not just "ERROR: blah blah blah".
eg. I think "Please sepcify your name" would sound better...
But I'm not an english professional
but the changes are minimal; in the most cases deleting of the html-tags would be enough
http://drupal.org/node/27415 is not included... :(
Comment #2
Tobias Maier commentedforget the patch above.
I had a little bit time so i changed following things too:
Comment #3
kbahey commentedSorry, but the patch is very very large at 869 lines. It is very hard to review.
A patch should not be a rewrite of the module, a few lines (tens at most).
Comment #4
Tobias Maier commentedsorry
its not a complete rewrite
but this was my first contribution to drupal and my first time using cvs.
i did a cleanup at the whitespaces and tabs used in the file...
and then i read that it is the best to post the changes as *.patch
if you would use a programm like Winmerge http://winmerge.sourceforge.net/ .
you will see the update isnt tooooo big.
sorry for the work youll get with me... :(
Comment #5
Tobias Maier commentedhere you get a list of the changes ordered by function:
to see this I removed on both versions (myone and the cvsone) all tabulators and whitespace at the beginning and at the end of a line
function feedback_help()
function feedback_settings()
function feedback_page()
function feedback_display_form()
function feedback_validate_data()
what I changed beside this?
foo= bar() ;to
foo = bar();or
to
i wanted to do a little cleanup as a sideeffect
i hope it helps you reviewing my changes....
yours sincerely
Tobias Maier
Comment #6
Tobias Maier commentedwell, i turn the wheel back...
I will start for every change a patch
here is the first one
changing the postal to a textarea.
as I mentioned above this would be better, because adresses are longer than one line...
cu
Tobias Maier
Comment #7
kbahey commentedCommited.
The patches still do not apply cleanly. The offsets seem to be off a bit.
In any case, since this patch is small, it is easy to apply by hand.
Thanks for that new approach.
Comment #8
(not verified) commentedComment #9
(not verified) commentedComment #10
(not verified) commentedComment #11
(not verified) commentedComment #12
(not verified) commentedComment #13
(not verified) commented