[web2py] Re: Displaying computed data from form submission
You are not storing the images. When you do : form=FORM(fields, onvalidation=qrparse) Did you guessed qrparse return values are being stored in form or somewhere? You need to store in a cookie, global variable, or maybe in the form (I don't know where you want to show the images). Could you tell us where would you like to show the images? -- 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/groups/opt_out.
[web2py] Re: Displaying computed data from form submission
I feel ridiculous admitting this, but I didn't realize I had omitted the code saving them into the global variables. The result set doesn't need to be persistent, so storing it to the database would be unnecessary. It will only be displayed to the user once. On Friday, January 24, 2014 1:38:01 PM UTC-7, Jaime Sempere wrote: Maybe I am wrong, but i think you are not storing the images. When you do : form=FORM(fields, onvalidation=qrparse) Did you guessed qrparse return values are being stored in form or somewhere? You need to store in a cookie, global variable (and then show them in the view using {{=}}) or maybe save in in the form like a prepopulate field (I don't know where you want to show the images). Could you tell us where would you like to show the images? -- 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/groups/opt_out.
[web2py] Re: Displaying computed data from form submission
I still don't see where are you storing them or where you would like to show them... Where should appear them? In the form? El viernes, 24 de enero de 2014 21:53:31 UTC+1, Chris Hepworth escribió: I feel ridiculous admitting this, but I didn't realize I had omitted the code saving them into the global variables. The result set doesn't need to be persistent, so storing it to the database would be unnecessary. It will only be displayed to the user once. On Friday, January 24, 2014 1:38:01 PM UTC-7, Jaime Sempere wrote: Maybe I am wrong, but i think you are not storing the images. When you do : form=FORM(fields, onvalidation=qrparse) Did you guessed qrparse return values are being stored in form or somewhere? You need to store in a cookie, global variable (and then show them in the view using {{=}}) or maybe save in in the form like a prepopulate field (I don't know where you want to show the images). Could you tell us where would you like to show the images? -- 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/groups/opt_out.