I think it will be easier to help if you show some code so we can see 
exactly what you need to do.

On Wednesday, January 22, 2014 9:43:48 AM UTC-5, Horst Horst wrote:
>
> In my record-update controller, after SQLFORM.validate(), I'd like to 
> programmatically change some of the submitted form values, and then present 
> the form again (with the changed values) for further editing. Imagine a 
> sort of autocomplete of partially filled forms. 
>
> My controller has the standard control flow with self-submission, and 
> returns dict(form=form) as usual. However, there should be no database 
> update until the final (unaltered) submission. (I'm already doing this 
> manually, without SQLFORM.process.)
>
> How can I alter the submitted values? Simply assigning "form.vars.my_field 
> = my_new_value", and then returning the form doesn't seem to work.
>
>

-- 
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.

Reply via email to