Additional Info
Type
Package ID
GL700Wing:CustomProfileField-S
First Created
August 20, 2020, 07:17:46 AM
Last Updated
June 12, 2023, 03:33:12 AM

Custom Profile Field - Sort Select Box/Radio Button Options v1.2

Mod to enable sorting of the options for 'Select Box' and 'Radio Button' custom prof
Compatible With 2.0.17, 2.0.18, 2.0.19, 2.1.1, 2.1.4
Latest version v1.2
Downloads 424
Reviews 0
Rating 0/5
Subscribers 1
License BSD 2-Clause "Simplified" License (View License)
Author(s)
Custom Profile Field Sort Options for Select Box/Radio Button - v1.2

By default the options for 'Select Box' and 'Radio Button' in Custom Profile Fields cannot be sorted - they have to be reordered manually.  In situations where it is necessary to periodically add a new option like a calendar year and have the list displayed in descending order, or add a new model of an item and have the list displayed in ascending order, this can become quite time consuming.

This modification enables the ascending/descending sorting of the options for 'Select Box' and 'Radio Button' custom profile fields prior to them being saved.  There is also a 'No change' option (this is the default option) to preserve the order of the options if the Ascending or Descending sort options are not selected.

Also, and because care must be taken to not change the text when manually reordering options to ensure that user data is not lost, this mod provides a means to sort the options without any need to copy/paste/retype the text.


Release History:
1.0 - 20-Aug-20
o Initial Release with support only for SMF 2.0.17

1.0 Update - 12-Oct-20
o Added installer support for SMF 2.0.18 (no code change for mod)

1.1 - 25-Jul-21
o Added support for SMF 2.1 RC4

1.2 - 23-Apr-22
o Added installer support for SMF 2.1
o Removed installer support for SMF 2.1 RC4
o Fixed minor bug for SMF 2.1




License
Copyright 2020-2023 Kathy Leslie

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Custom_Profile_Fields_Sort_Options-v1.2.zip
6.46 KB v1.2 2.0.19, 2.1.4
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization
Advertisement: