After installing DT Register 2.5.4 I changed some custom fields used by a major upcoming event to have the long-waited-for selection limits on some custom fields. Then I got a bit worried. How is this programmed?:
Explanation:
I have >100 registrations to this event and these have registered to the courses which are found in the custom fields in question. What I did when going to 2.5.4 was to count how many places on the different courses that have been taken, then I made selection limits based on places left. So if a course A had 20 places from the start, and 8 persons had registered for that course, I made a selection limit 12 for that entry in that custom field.
Questions:
1. How are the selection limits versus places taken counted? Are the old registrations for a custom field selection made before the selection limits where appllied taken into account?
2. If a person has registered for the custom field courses A +B with selection limits and the person's whole registration is then cancelled (deleted), what happens with Selection limits? Does DT Register recount Selection Limits versus places taken from jos_dtregister_user each time the dropdown lists are created ?
3. Do I need to change the course names in the custom fields when going to 2.5.4. and selection limits if I do not want these older registrations to be counted (I would need the selection limits to be Total places on course X - Places already taken)?
Hello Ben. First, make sure you get DT Register 2.5.5 which was recently released.
Answers to your Questions:
1. Your previous field selections will be counted in the limit count.
2. If that user record is deleted, then the selection count for the included fields will adjust.
3. If you want a previous record to NOT be counted, then you'd need to change the name, yes. If a field option for example is "COURSE A", the selection limit looks for occurrences of "COURSE A" in current records to determine how many times it has been selected for that event.