Hi James,
Here's my code below:
Real Parameter:
<param access="1" constraintstrict="true" constrainttype="STRING_STRING_CHOICE" maxlength="0" name="OPTA.PLAYER_1_CAT_1" oid="OPTA.PLAYER_1_CAT_1" type="STRING" value="gk_smother" widget="combo">
<constraint key=""/>
<constraint key="accurate_fwd_zone_pass">Accurate Forward Zone Passes</constraint>
<constraint key="accurate_long_balls">Accurate Long Balls</constraint>
<constraint key="accurate_pass">Accurate Passes</constraint>
<constraint key="ball_recovery">Recoveries</constraint>
<constraint key="blocked_scoring_att">Blocked Shots</constraint>
<constraint key="clean_sheet">Clean Sheets</constraint>
<constraint key="clearance_off_line">Clearances off the Line</constraint>
<constraint key="dive_catch">Diving Catches</constraint>
<constraint key="dive_save">Diving Saves</constraint>
<constraint key="effective_clearance">Clearances</constraint>
<constraint key="fouls">Fouls</constraint>
<constraint key="gk_smother">Smothers</constraint>
<constraint key="goal_assist">Assists</constraint>
<constraint key="goal_kicks">Goal Kicks</constraint>
<constraint key="goals">Goals</constraint>
<constraint key="last_man_tackle">Last Man Tackles</constraint>
<constraint key="mins_played">Minutes</constraint>
<constraint key="penalty_save">Penalties Saved</constraint>
<constraint key="punches">Punches</constraint>
<constraint key="saved_ibox">Shots Saved from Inside the Box</constraint>
<constraint key="saved_obox">Shots Saved from Outside the Box</constraint>
<constraint key="saves">Saves</constraint>
<constraint key="stand_save">Standing Saves</constraint>
<constraint key="total_fwd_zone_pass">Total Forward Zone Passes</constraint>
<constraint key="total_long_balls">Total Long Balls</constraint>
<constraint key="total_pass">Passes</constraint>
<constraint key="total_tackle">Tackles</constraint>
<constraint key="total_yel_card">Yellow Cards</constraint>
<constraint key="total_red_card">Red Cards</constraint>
<constraint key="touches">Touches</constraint>
<constraint key="was_fouled">Fouled</constraint>
<constraint key="won_tackle">Tackles Won</constraint>
</param>
Copy Parameter:
<param access="1" maxlength="0" name="OPTA.PLAYER_1_TYPE_1" oid="OPTA.PLAYER_1_TYPE_1" type="STRING" value="fouls" widget="default"/>
Ogscript task:
<param expand="true" height="60" left="100" oid="OPTA.PLAYER_1_CAT_1" runtasksonload="true" showlabel="false" top="120" width="320">
<task tasktype="ogscript">params.setValue('OPTA.PLAYER_1_TYPE_1', 0, params.getValue=('OPTA.PLAYER_1_CAT_1', 0));</task>
</param>
Obviously this isn't my whole panel, but is instead just those few different items.
#DashBoard