Hi Stifan,
On 28/02/13 07:44, 黄祥 wrote:
a, i c, i get it to use sqlform.factory and if form accepted store it in
session for id and quantity, the main problem is in my view i make a
condition for view as grid or view as list, i don't think it can be done
by sqlform, since the form place is vertical, not horizontal, if you use
the list view. till now everything is work fine, yet i just want to add
the form field so that make the user more convinient if they want to
order more than 1 items.
If you use SQLFORM.factory, pull the resulting form into a table cell
using a LOADed component and customise the form as documented in the
book, you can create a form with a qty. input field and a button beside
it, if that's what you want.
--
Regards,
PhilK
'a bell is a cup...until it is struck'
--
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.