215 Posts
iliil
5 years ago
Topic

Hello.

I have a muti-stage form.  When I save a single stage with Submit Button (task save) it redirects me to the first stage of the form.

Is there a way to save a single stage of the form without any redirection?

Thanks form help

Michal

 

Get a Book for SEBLOD
4229 Posts
Kadministrator
5 years ago
5
Level 1

Perhaps (not tested) you could use Save&redirect - as redirect link add link to current form&stage.

215 Posts
iliil
5 years ago
4
Level 2

Thanks for the reply, Klas.

I'm not sure if I can achieve that with Save&redirect, as it seems to offer just menu item selection and a field for custom variables. No idea how to build the link to the current form and stage with these tools ( the URL contain return=aHR0cDovL2xvY2FsaG9zd... :).  Maybe I overlooked something.

5 years ago
3
Level 3

Hi iliil,

try to add "skip=1" in the url of your form, for example, if you want to edit the stage 2 add "stage=2&skip=1"

Regards.

215 Posts
iliil
5 years ago
2
Level 4

Hi Lionel

I have 2 stages in my form.

  • stage 1
  • stage Final

In the Edit link:

I have selected the stage Final and added the custom variable skip=1

The form URL contains these variables: stage=0&skip=1

I am able to edit directly the final stage but after Save (task save) it redirects me to the stage 1.

Any sudgestions?

Thanks

Michal

4229 Posts
Kadministrator
5 years ago
1
Level 5

probably it should be stage=1 not 0

215 Posts
iliil
5 years ago
0
Level 6

Hi

The stage=0 is generated automatically by selecting the Final stage in the link configuration.

If I understand the logic, stages have numbers 1,2,3 etc and the final stage is 0.

215 Posts
iliil
5 years ago
0
Level 1

It is working in SEBLOD 3.16.2.

Thanks, SEBLOD team :).

Michal

Get a VIP membership