Closed alfonsodg closed 10 years ago
From massimo....@gmail.com on January 10, 2011 10:16:11
In trunk with a change. instead of nosubmitbutton=True use buttons=[].
The idea is that in the future there may be more tha one button ('submit', 'cancel', 'back' etc.).
From massimo....@gmail.com on January 10, 2011 10:16:22
Status: Fixed
From gr...@jingojango.net on January 10, 2011 03:17:37
I needed to make an SQLFORM that I would load dynamically through AJAX and handle display/submit through jQueryUI Dialogs. The standard LOAD() function wasn't cutting it for my needs.
Usage: form=SQLFORM(db.table, nosubmitbutton=True)
Result: submit_record__row not added to form.
This does not impact the readonly variable (tested)
Attachment: nosubmitbutton.diff
Original issue: http://code.google.com/p/web2py/issues/detail?id=152