Well, I'm VERY new to Web2Py, so at this point I've got a lot of learning 
to do...

After doing some more reading, I think I need to use vars.

Yes deploy_name is a field on the form from which I'd like to obtain user 
input.

I'm really not sure what the recommended approach to work this page within 
the Web2Py framework.

The page has a number of fields, some drop-down selections from db tables, 
another (deploy_name) a text field.

The deploy_name field can be used in different functions, thus I need 
multiple buttons.  

The standard Submit button, works as expected, but as you state, the Reset 
button does not.

However, I'd like the second (and possibly more buttons) to use the 
deploy_name field, which is why I'm redirecting to a different method.
It appears as though that's not the proper way of handling this scenario 
then?

Should all the buttons submit then instead of redirect?
Is there a way to determine in the controller code which button the user 
pressed?

Thanks!

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