Can we redirect page to other page after editing record

QuestionsCan we redirect page to other page after editing record
Jayashri Patil asked 11 years ago

Hi,

Can we redirect page to other page after editing record or atleast can we show message like record edited successfully.

Thanks

5 Answers
Abu Ghufran answered 11 years ago

Hello,

You can do something like,

$opt["edit_options"]["afterSubmit"] = 'function(response) { if(response.status == 200)
{
alert('Record edited');
return [true,""];
}
}';

If you are using licensed version, you can get latest build by sending me email at [email protected]

Andy answered 11 years ago

lease send latest build

thanks!

Abu Ghufran answered 11 years ago

Sent

Henrique answered 8 years ago

How can I redirect to other page after editing? This code didn´t work for redirecting only for alerting

Abu Ghufran answered 8 years ago

The alert() code was to give you an idea.
You can replace it with

location.href="http://domain.com"; OR
window.open("http://domain..com")

Your Answer

5 + 9 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?