[web2py] Re: How to submit a custom form

2010-07-25 Thread elfuego1
When I send my registration form I get the error below from the controller: controllers/default.py What should I do to be able to send the form and save form data into database? Line 17 in default.py refers to: form=auth() Do I have to add some code yet to user function to be able to send my

[web2py] Re: How to submit a custom form

2010-07-25 Thread elfuego1
When I try to submit my registration form I get this error from controller: controllers/default.py Where line 16 is: form=auth() So, what should I do to be able to send and save data from my registration form into database? ---

[web2py] Re: How to submit a custom form

2010-07-23 Thread mr.freeze
Sorry, that's {{=lbl.username}}:{{=wdgt.username}} On Jul 23, 5:16 pm, "mr.freeze" wrote: > I noticed that some of your table is malformed. > {{=lbl.username}}:{{=wdgt.username}} > should be > {{=lbl.username}}:{{=wdgt.username}} > > There are several like this. Make sure all of your table conten

[web2py] Re: How to submit a custom form

2010-07-23 Thread mr.freeze
I noticed that some of your table is malformed. {{=lbl.username}}:{{=wdgt.username}} should be {{=lbl.username}}:{{=wdgt.username}} There are several like this. Make sure all of your table content is in td's then try again. On Jul 23, 5:13 pm, elfuego1 wrote: > I had removed this part of the cod

[web2py] Re: How to submit a custom form

2010-07-23 Thread elfuego1
I had removed this part of the code but it's not working anyway. Answering your quetion: I can see the button but it's not wroking as it should. On 23 Lip, 19:47, "mr.freeze" wrote: > Are you not seeing the submit button or is it just not working? I see > in your javascript that you are basicall

[web2py] Re: How to submit a custom form

2010-07-23 Thread mr.freeze
Are you not seeing the submit button or is it just not working? I see in your javascript that you are basically cancelling the submit with this code: var submit = false; $(document).ready(function(){ $("form").submit(function() { return submit; }); }); On Jul 2

[web2py] Re: How to submit a custom form

2010-07-23 Thread elfuego1
Can I count on some help? On 23 Lip, 15:50, elfuego1 wrote: > First submit button on login page works like a charm. > But submit button on registration page - doesn't. > > Content of my user.html > --- > > {{extend 'layout.h

[web2py] Re: How to submit a custom form

2010-07-23 Thread elfuego1
First submit button on login page works like a charm. But submit button on registration page - doesn't. Content of my user.html --- {{extend 'layout.html'}} {{lbl=form.custom.label}} {{wdgt=form.custom.widget}} {{if request

[web2py] Re: How to submit a custom form

2010-07-23 Thread mdipierro
Please show us the form and the customization. {{=form.custom.submit}} should just produce . The problem is somewhere else. On Jul 22, 6:37 pm, elfuego1 wrote: > Hi, > > I had made my custom form, but adding {{=form.custom.submit}} doesn't > let me send the form. > How should I add submit button

[web2py] Re: How to submit a custom form

2010-07-23 Thread elfuego1
Does anyone know how to do that? On 23 Lip, 01:37, elfuego1 wrote: > Hi, > > I had made my custom form, but adding {{=form.custom.submit}} doesn't > let me send the form. > How should I add submit button to the page, so I would get a default > fields validation and form submit functionallity? >