Thanks for the correction Anthony, I didn't know that.
-Jim
On Wed, Aug 26, 2015 at 10:07 AM, Anthony wrote:
> There's nothing wrong with calling .process() when the form is first
> defined. Your code is exactly equivalent to the original.
>
> Anthony
>
> --
> Resources:
> - http://web2py.com
>
There's nothing wrong with calling .process() when the form is first defined.
Your code is exactly equivalent to the original.
Anthony
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/is
I'm confused by the use of .process() at the end of your SQLFORM
instantiation.
Instead, I would do this:
form = SQLFORM(db.certificate_request)
if form.process().accepted:
response.flash = 'new CSR registered'
redirect(URL('customerArea', 'index')
Hope that helps.
-Jim
On Tuesday, A
sure
form = SQLFORM(db.certificate_request).process()
if form.accepted:
response.flash = 'new CSR registered'
redirect(URL('customerArea','index'))
On Tuesday, August 25, 2015 at 2:51:27 PM UTC+2, Jim S wrote:
>
> Can we see the form definition from your controller?
>
> -Jim
>
Can we see the form definition from your controller?
-Jim
On Tuesday, August 25, 2015 at 7:16:49 AM UTC-5, Iancic Bogdan wrote:
>
> I want to populate a form, besides the input that the user inserts.
>
> This is the code from view:
>
> var MattsPublicKeyString = cryptico.publicKeyString
5 matches
Mail list logo