PDA

View Full Version : Ordering of Extra Fields?


wx4castr
June 7th, 2005, 03:51 PM
In the "Additional field type"'s inside "Administration/Edit Categories", I can't seem to control the order of the fields (which in turn controls the order that they show up on the upload page). For example, if I enter:

State
Day
Month
Year

in different categories as Dropdown menus, it orders them as:

S,D,Y,M
Y,D,M,S
S,Y,D,M
S,M,D,Y

which is not going to be intuitive to the user as they are filling out the form :(

I guess my questions are: What determines the order of the "Additional Field types" in the Admin interface (which appears to be the same as when they are presented to the user), and, is there any way to change the order.

We are using PPP5.03.

Chuck S
June 11th, 2005, 09:55 AM
They should be ordered by there default order of id descending

wx4castr
June 13th, 2005, 06:00 PM
Turns out they weren't ordered at all. We put an "ORDER BY id" at the end of the SQL query that spit out the "custom" fields and this seemed to work (as long as we enter them in the order that we want them).