[web2py] Re: Update Pure HTML form

2016-06-17 Thread Jeff Riley
Anthony. It was me being a complete idiot. I had not removed the HTML form tags. I have attached the code that is working perfectly now. Thank you so much for have the patience of a Saint. On Wednesday, June 15, 2016 at 8:52:22 AM UTC-5, Jeff Riley wrote: > > All. I was going to link this t

[web2py] Re: Update Pure HTML form

2016-06-16 Thread Anthony
You are passing a record to SQLFORM for editing - that is the record whose id is needed. Hard to say what's wrong with the new code without seeing it. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google

[web2py] Re: Update Pure HTML form

2016-06-16 Thread Jeff Riley
So I need to know who to get the record ID from the database to pass to the update view. Using the form start and end calls is not working. On Wednesday, June 15, 2016 at 8:52:22 AM UTC-5, Jeff Riley wrote: > > All. I was going to link this to my "Pure HTML Form" question just not > sure how t

Re: [web2py] Re: Update Pure HTML form

2016-06-16 Thread Jeff Riley
Anthony thank you so very much. I will make these changes. Thank you, Jeff Riley > On Jun 16, 2016, at 11:17 AM, Anthony wrote: > > For update forms, web2py includes the record ID as a hidden field and > verifies that it matches the original record ID on the server to ensure the > user doesn'

[web2py] Re: Update Pure HTML form

2016-06-16 Thread Anthony
For update forms, web2py includes the record ID as a hidden field and verifies that it matches the original record ID on the server to ensure the user doesn't try to update a different record. You have not included the record ID in your form, so this verification fails. As noted earlier, please

[web2py] Re: Update Pure HTML form

2016-06-16 Thread Jeff Riley
Hey Anthony thank you very much for responding. I am attaching the code I use for the create form which is working great and the code for the update form which is giving me the grief. Please let me know if there is more information you might need and I so appreciate all your hep. On Wednesday

[web2py] Re: Update Pure HTML form

2016-06-15 Thread Anthony
Also, if you're going to use SQLFORM, you should probably try to follow the documented custom form method rather than using completely custom HTML. At the very least, use form.custom.end to ensure you have the pr

[web2py] Re: Update Pure HTML form

2016-06-15 Thread Anthony
Hard to say without seeing any details. You shouldn't be getting that error message unless you have passed in a record or are using a keyed table. On Wednesday, June 15, 2016 at 9:52:22 AM UTC-4, Jeff Riley wrote: > > All. I was going to link this to my "Pure HTML Form" question just not > sure