X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fselect-table.html;h=a52fdfaaa505692ac8a0b5ffd22668eafeca0d59;hp=10a8b27415af4c81d0a2630ab86d26295bcdc6e8;hb=d2b55d07a9e6e64a38877136d7974ab93e14f1ed;hpb=81e426fe755eaea508041bc2d7b25ac44c777434 diff --git a/httemplate/elements/select-table.html b/httemplate/elements/select-table.html index 10a8b2741..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