I switched it to this which saves the data and shows the empty form again:
if table == 'ref_fnaregistry':
redirect(URL('default', 'create_fvte.load',
args='ref_fnaregistry'))I would very strongly advise simplifying your app. This is far more complicated than it needs to be and I suspect you will continue to run into a lot of hard to solve problems like this.

