Than u Fabiano Almeida its run On Sun, Mar 6, 2016 at 10:39 PM, prashant joshi <prashante...@gmail.com> wrote:
> thank u > > > On Fri, Mar 4, 2016 at 1:55 AM, Fabiano Almeida <fabi...@techno7.com.br> > wrote: > >> *view:* >> >> {{extend 'layout.html'}} >> {{=form.custom.begin}} >> >> <div class="row-fluid"> >> <div class="span2"> >> <label class='label'>{{=db.stud_person.first_name >> .label}}</label> >> {{=form.custom.widget.first_name}} >> </div> >> <div class="span1"> >> <label class='label'>{{=db.stud_person.middle_name >> .label}}</label> >> {{=form.custom.widget.middle_name}} >> </div> >> <div class="span1"> >> <label class='label'>{{=db.stud_person.last_name >> .label}}</label> >> {{=form.custom.widget.last_name}} >> </div> >> </div> >> >> {{=form.custom.submit}} >> {{=form.custom.end}} >> >> >> Fabiano. >> >> 2016-03-03 14:58 GMT-03:00 prashant joshi <prashante...@gmail.com>: >> >>> >>> >>> def register(): >>> form=SQLFORM(db.stud_person) >>> print form.errors >>> if form.process().accepted: >>> response.flash='Bitte warten' >>> elif form.errors: >>> response.flash='Bitte fuellen sie das Formular richtig aus' >>> >>> return dict(form=form) >>> >>> >>> >>> >>> view:- >>> {{=form.custom.begin}} >>> <html> >>> <head> >>> <link rel="stylesheet" >>> href="{{=URL('static','css/bootstrap.min.css')}}"/> >>> <link rel="stylesheet" >>> href="{{=URL('static','css/web2py-bootstrap3.css')}}"/> >>> </head> >>> <body> >>> >>> <div class="container"> >>> <table class="table"> >>> >>> <tbody> >>> <tr> >>> <td>First Name</td> >>> <td>Middle Name</td> >>> <td>Last Name</td> >>> </tr> >>> <tr> >>> <td>{{=form.custom.widget.first_name}}</td> >>> <td>{{=form.custom.widget.middle_name}}</td> >>> <td>{{=form.custom.widget.last_name}}</td> >>> </tr> >>> </table> >>> <td><div align='center'>{{=form.custom.submit}}</div></td> >>> </html> >>> {{=form.custom.end}} >>> >>> >>> This form is not submited.... >>> deta is not iserting on detabase... >>> This code is right???? >>> >>> >>> >>> -- >>> 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. >>> >> >> -- >> 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. >> > > -- 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.