I realized that some functions I use with switch have stopped working.
For example: Checking if data recording occurred, the message no longer appears.
For example: Checking if data recording occurred, the message no longer appears.
What do you have the switch "data provider" ?
In the data provider of my switch I have {var: save_contract}
When saving nothing is displayed on the screen.
It was working before the last update I made
When saving nothing is displayed on the screen.
It was working before the last update I made
And what are the values of the switch ?

The save data returns either false on failure or an array of saved data on success, so just change "true" to "*" and it should work, and make false first:
This returns the "empty" test of the variable which should work with your existing values!
false:error messageOR change the data provider to: {var.empty:save_edit_cad_cred}
*:success message
This returns the "empty" test of the variable which should work with your existing values!
It's working
Thanks!
Get me a question about redirection.
save event
I always leave a message of success or error to the end
{fn: check_update_result}
But, I would like to make a redirect.
If I put this {redirect: index} at the end
{fn: check_update_result}
{redirect: index}
The redirect happens, but the message is not shown, how can I resolve it?
Thanks!
Get me a question about redirection.
save event
I always leave a message of success or error to the end
{fn: check_update_result}
But, I would like to make a redirect.
If I put this {redirect: index} at the end
{fn: check_update_result}
{redirect: index}
The redirect happens, but the message is not shown, how can I resolve it?
This topic is locked and no more replies can be posted.