Page 1 of 1

How? After insert return to table ONLY view (not record)

Posted: 2021-01-05 07:33
by onoehring
Hi,

I have a tableview+detailview split. When I add a new record I want to return not to that record-edit, but to tableview only.
I am sure there must be an easy way ... but how do I do that?

Thanks already.
Olaf

Re: How? After insert return to table ONLY view (not record)

Posted: 2021-01-05 07:47
by jsetzer
I am sure there must be an easy way ... but how do I do that?
I think it should work with "Redirect after insert" option:
AppGini_6w8VYXAMQn.png
AppGini_6w8VYXAMQn.png (5.92 KiB) Viewed 2232 times

Re: How? After insert return to table ONLY view (not record)

Posted: 2021-01-05 08:39
by onoehring
Hi Jan,

yes, that's a (the) easy solution. Thank you.
Probably the link should be:

Code: Select all

/tablename.php?addNew_x=1
or just back to table view

Code: Select all

/tablename.php
Olaf

Re: How? After insert return to table ONLY view (not record)

Posted: 2021-01-05 11:15
by jsetzer
/tablename.php?addNew_x=1
/tablename.php
No, the urls are slightly different.

The correct URL's are:

Detail View in insert-mode

Code: Select all

TABLENAME_view.php?addNew_x=1
Table View

Code: Select all

TABLENAME_view.php
* replace TABLENAME

Re: How? After insert return to table ONLY view (not record)

Posted: 2021-01-06 11:31
by onoehring
Hi,

thanks, you are correct.
Olaf