X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fselect-table.html;h=3f6c8805d0e1ab6aa122a013579e5b57d2a2bb55;hb=715120170b58861d2957266a2802df2e412979c8;hp=45585a8ff31cd294d2676866aebc58033554a663;hpb=63a268637b2d51a8766412617724b9436439deb6;p=freeside.git diff --git a/httemplate/elements/select-table.html b/httemplate/elements/select-table.html index 45585a8ff..3f6c8805d 100644 --- a/httemplate/elements/select-table.html +++ b/httemplate/elements/select-table.html @@ -8,7 +8,8 @@ Example: # required ## 'table' => 'table_name', - 'name_col' => 'name_column', + 'name_col' => 'name_column', #or method if you pass an order_by + # order_by is currently broken, though #strongly recommended (you want your forms to be "sticky" on errors, right?) 'curr_value' => 'current_value', @@ -29,10 +30,15 @@ Example: #or 'records' => \@records, #instead of search params + #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