I want to add additional fields with the following constraints:
Dropdown list fields: maximum of 10
Decimal number fields: maximum of 3
Text fields: maximum of 5
I should be able to add one or more of these fields at a time, but the total for each field type must not exceed its limit.
Give some clarification regarding this
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't understand the problem. If you want no more than 5 additional text fields, then don't add more than 5 additional text fields, and don't give admin access to anyone else who might do so.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You want to add more fields than are currently allowed; got it.
That requires a source code change in the info.jtrac.domain.Field.Name enum. If you look at it, it should be relatively obvious how to change it by adding fields. (Make sure to add new fields at the end of the list, not in the middle - these are Java enums!)
I don't know why it was implemented this way, but there's a comment about it at the top of the info.jtrac.domain.MetaData class.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Duplicate of https://sourceforge.net/p/j-trac/support-requests/32/
I want to insert an additional dropdown list, a text field, decimal Number,Text field,Date field.
Reopening this ticket, because the discussion continues even though it has been closed.
What stops you from adding those fields?
I want to add additional fields with the following constraints:
Dropdown list fields: maximum of 10
Decimal number fields: maximum of 3
Text fields: maximum of 5
I should be able to add one or more of these fields at a time, but the total for each field type must not exceed its limit.
Give some clarification regarding this
I don't understand the problem. If you want no more than 5 additional text fields, then don't add more than 5 additional text fields, and don't give admin access to anyone else who might do so.
For example, if there are 5 text fields, I want to add one or two more — for instance, increasing it to 6 text fields."
You want to add more fields than are currently allowed; got it.
That requires a source code change in the info.jtrac.domain.Field.Name enum. If you look at it, it should be relatively obvious how to change it by adding fields. (Make sure to add new fields at the end of the list, not in the middle - these are Java enums!)
I don't know why it was implemented this way, but there's a comment about it at the top of the info.jtrac.domain.MetaData class.