You have to options. You can use custom widgets to represent for example options in integer fields as buttons or images. The problem is that I do not know where the names of those options (or images) came from.. are they constants? Are they from a lookup table?
It may be easier to make the fields hidden and create an interface manually in HTML and jQuery. Massimo On Tuesday, 6 January 2015 17:09:53 UTC-6, Steve wrote: > > Goodevening, > > Just started with web2py, looked at some of the web2py videos from Massimo > ( which i find very good). > Still , i need some pointers to start with a specific page / form and hope > that someone can help me with this. > > Not sure if i should use FORM or SQLFORM and also if i should put al the > information in one table or one or more reference tables ( what is good > practice). > > Example of the form i would like to build: > > > 1) Button A, Button B, Button C and a field where someone can fill in a > INT ( user selects a value trough one of the buttons or fills in the free > field > > -- Show the selection the user made > > 2) Select a Image from different images > > -- Show the selected Image -- > > 3) Select the delivery : Email, SMS or Print > - When the selection at nr. 3 is Email or SMS the user has to fill in > : Name receiver + Email receiver/ SMS receiver ( with print nothing has to > be filled in ) > - When the selection at nr. 3 is Email or SMS the user has to fill in > a date and time field for when the image has to be send. > > 4) The Email + name of the user has to be filled in > > At the end a button.( kind of checkout button, after a check on a > different page , gets amapproval and after the approval stores the data > into the database. > That is the idea, hope that someone can point me in the right direction. > > Steve > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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/d/optout.