TCArknight
Well-known member
Howdy! 
I have a question regarding sorting that I'm drawing a blank on.
I have a sortset for display with a choosesortset entry:
Each Advantage may or may not also have a NatCost field to represent the reduced cost of an Advantage for heros from a particular Nationality. When a hero is of that nationality, I'd like the Advantage to show based on the NatCost rather than the PointCost tag.
Is there a simple way to do this? If not, could replacing the value for the PointCost tag with the NatCost value work best?
Thanks!
TC

I have a question regarding sorting that I'm drawing a blank on.
I have a sortset for display with a choosesortset entry:
Code:
<sortset id="AdvSort" name="Choose Advantages">
<sortkey isfield="no" id="PointCost"/>
<sortkey isfield="no" id="_Name_"/>
</sortset>
Each Advantage may or may not also have a NatCost field to represent the reduced cost of an Advantage for heros from a particular Nationality. When a hero is of that nationality, I'd like the Advantage to show based on the NatCost rather than the PointCost tag.
Is there a simple way to do this? If not, could replacing the value for the PointCost tag with the NatCost value work best?
Thanks!
TC