203 Posts
louispapera
7 years ago
5
Topic

Hi sebloders, I created a form and it work good, I insert data in my database and I can view them by list and search type.

Now, when I choose my list by search form view, using some search fields, I obtain a my list. All right.

Then I choose one record to edit and I edit it. 

My asked is this: how can I do to return in my previous page last list obtained with search form after edit form ?

example: I have a file with 10 records, when I selected my record with search form view and I obtain 3 records in my list......

I choose one record and edit it, then I need return in my last list with 3 records.... is it possible ? 

I see that I can redirect in my initial list (10 records)...... 

Many thanks for your help, Louis

 

 

Get a VIP membership
1283 Posts
Bucklash
7 years ago
4
Level 1

Hi

I have never tried this but maybe it will do it...

History Back (JS)

I wonder if searxh results will be there....

203 Posts
louispapera
7 years ago
3
Level 2

Thanks for your help but I saw that this plugin works at the field level. I need to return, after the update form, to the the list, after I selected the records with search in form view. Thanks again, I wait for a new suggestion, regards,  louis

4229 Posts
Kadministrator
7 years ago
2
Level 3

On the form try with Button submit in Save & Close / Inherited mode, it should redirect to previous page. On the list you can use Free button in Form mode (instead of edit link), it should also take care of redirect back. It is possible that you will need to use both buttons.

https://www.seblod.com/resources/extensions/plug-ins/button-submit-field

https://www.seblod.com/resources/extensions/plug-ins/button-free-field

203 Posts
louispapera
7 years ago
0
Level 4

Thanks Klas for your suggestions. I try them without success......

I hope with free field but nothing. Have you any new ideas ? 

I need only when record is updated, after submit, that system could return my previous list that I have obtained with search type where I have choose by some fields. I think is necessary an istruction in html or java script that could be run after submit.... is it an ideas ? 

Regards, Louis

203 Posts
louispapera
7 years ago
0
Level 4

Hi Klas, I try about your suggestions for create a button free to update records directly from list. It is perfect, I am able to edit form and on submit system update record and go to my list. Many thans Klas, now I can put solved in my post.

Best regards for all sebloders, Louis

Get a Book for SEBLOD