Hi Guys
I have a question about creating a Minimax script for profiles
Basically the rule set I am working on has various profiles and the amounts of units that can be picked for some profiles is dependent on the amount of units selected in another profile
For example
I have a profile called core units, and the user can select between 2 and 4 units from this profile
I have a second profile called support that allows 0 – 2 units to selected for every 2 units selected in the core profile
i.e. if a user selects 2 core units, then 4 support units can be selected
So is there any way to count the number of units that have been selected in a profile as I can use that figure to set the @maxvalue in the minimax script
Cheers
Mike
|