I'm trying to utilize crud update but for some reason the submission is not working right. I'm trying to send the page to a crud update page using this logic:
VIEW: {{=FORM(INPUT(_type='submit',_value = 'Edit'), hidden=dict(Record=row.id),_action='hostname_modify')}} CONTROLLER FOR CRUD: def hostname_modify(): form=crud.update(db.vstk_hostnames,request.vars.Record,deletable=False,next=URL('default','licmgmt')) return dict(form=form) That seems to get me to the form, and I even added some debugging to make sure the Record variable is passing through. The problem is I fill out that form and hit submit, the page refreshes and I just see the same page again (except the debugging code indicates the Record variable is now 'None'). After the second time I get 'Record Updated' and am redirected. When I check the database I see a new Row has been created but I was really trying to update the existing row that has the id of the Record variable. I know it's something silly I am missing here - let me know if anyone can provide some pointers or advice. Thanks! Mike