• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: $app->redirect prevents mapping action

$app->redirect prevents mapping action 10 years 10 months ago #28089

Hello,

I've run into the problem described in the title; my form was saving to the table just fine, until I added an input-based redirect to the "Script called after form has been processed" field. After that it redirected but did not safe. Commenting-out the $app->redirect() call restores saving functionality.

What's the workaround?
The administrator has disabled public write access.

$app->redirect prevents mapping action 10 years 10 months ago #28091

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
This is actually normal. Mappings are executed after the Scripts called after form process area. Redirecting before this, will basically bypass the mapping actions. As a workaround you can simply use the Return URL option available within the Properties > Form Info area. For more information regarding redirect based on user's selection you can read the following article:
Redirect page based on user's selection
My help is not official customer support. To receive your support, submit a ticket by clicking here
The administrator has disabled public write access.
The following user(s) said Thank You: nathanhawks
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!