hi everybody,

been starting with web2py weeks ago and now my first unsolved issue appears.

There is an action to handle a custom form (as skeleton code here):

form = FORM()

for row in some_data_source:
  if row in relevant_data_source:
    form.append( INPUT(...var...) )

if form.accepts(...):
  for v in form.vars[...var...]:
    ... change relevant_data_source ...

So far the skeleton code. Now the issue: i have to call twice this action 
because first relevant_data_source will be updated in accepts block and 
after then creation of form will be effected. But i can't twist the code 
because i need values of input vars.

thx for helping


-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to