It took me a while to isolate the problem. Here is a simple code to
reproduce it:
def index():
db.define_table('thing',Field('image','upload',requires=IS_NOT_EMPTY()))
db.thing.image.default = 'xxx.png'
form = SQLFORM.factory(db.thing,upload=URL('download')).process()
return
Thank you Massimo for your patience.
I change factory to just sqlform and it works even with default values to
upload fields.
Thank you
António
2013/4/8 Massimo Di Pierro massimo.dipie...@gmail.com
It took me a while to isolate the problem. Here is a simple code to
reproduce it:
def
Can you check again Massimo in the app i posted? controller default -
Action trabalhador
Thank you
António
2013/4/6 António Ramos ramstei...@gmail.com
Sorry i meant trabalhador
Action trabalhador
Thank you
No dia 06/04/2013 17:31, Massimo Di Pierro massimo.dipie...@gmail.com
escreveu:
Sorry I cannot find action empreiteiro
On Friday, 5 April 2013 16:45:39 UTC-5, Ramos wrote:
I post here my app.
Sorry about the quality of my code. I´m learning as i go along the way.
The problem is in controller default, action empreiteiro
The upload field is required but when i edit a
Sorry i meant trabalhador
Action trabalhador
Thank you
No dia 06/04/2013 17:31, Massimo Di Pierro massimo.dipie...@gmail.com
escreveu:
Sorry I cannot find action empreiteiro
On Friday, 5 April 2013 16:45:39 UTC-5, Ramos wrote:
I post here my app.
Sorry about the quality of my code. I´m
Can you post a simpler example (including mode) to reproduce the problem?
Looks like the field in the table has a validator which requires an upload.
On Friday, 5 April 2013 11:06:52 UTC-5, Ramos wrote:
hello, i´m using a sqlform.factory to edit a record.
The form is prepopulated using this
6 matches
Mail list logo