X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fselect-table.html;h=a52fdfaaa505692ac8a0b5ffd22668eafeca0d59;hp=45585a8ff31cd294d2676866aebc58033554a663;hb=d2b55d07a9e6e64a38877136d7974ab93e14f1ed;hpb=63a268637b2d51a8766412617724b9436439deb6 diff --git a/httemplate/elements/select-table.html b/httemplate/elements/select-table.html index 45585a8ff..a52fdfaaa 100644 --- a/httemplate/elements/select-table.html +++ b/httemplate/elements/select-table.html @@ -8,7 +8,7 @@ Example: # required ## 'table' => 'table_name', - 'name_col' => 'name_column', + 'name_col' => 'name_column', #or method if you pass an order_by #strongly recommended (you want your forms to be "sticky" on errors, right?) 'curr_value' => 'current_value', @@ -28,11 +28,17 @@ Example: 'agent_null_right' => '', #right to see un-agented entries #or 'records' => \@records, #instead of search params + 'presorted' => 0, #set true to disable sorting the records on name_col + + #instead of the primary key... only for special cases + 'value_col' => 'columnname', #basic params controlling the resulting element 'onchange' => '', #javascript code + #params (well, a param) controlling the