I didn't get the problem. Wasn't the form generated "outside" web2py and you wanted web2py only to catch the submitted part ?
request.post_vars include every value (hidden or not) that the controller receives. if in response.post_vars there's no "submit_ip", than it's probably your "outside" form that has something not working. On Saturday, September 22, 2012 12:49:11 AM UTC+2, thinkwell wrote: > > One more question - here's how I redid the controller because I need these > values for hidden fields in the web2py form. > > def submit_site(): > site = request.post_vars.submit_url > ip = request.post_vars.submit_ip > > However, that only results in values of None. Why can't I use > request.post_vars.submit_ip in the controller? I built the form > successfully in a view, but I was hoping to build the form in the > controller so I can use validation on some fields. How can access the form > data inside the controller? > --