Conditional 'Submission message' and 'Jump page' sections in redirect plugin?

Status
Not open for further replies.
Hi,

In 'redirect' plugin, can I put the condition in Jump page section? Something like the following which obviously is not working.

upload_2019-1-19_13-58-22.png

Also in 'redirect' plugin, can I put the condition in 'Submission message'section? I want to have different messages for guest and registered users.

-Nikhil
 
PHP:
$your_elem_val={table_name___elem_name};
//echo '<pre>' . var_export($your_elem_val, true) . '</pre>';
//exit;
if($may_elem_val=='1'){
    return true;//run redirect
}
else{
    return false; //not run redirect
}
Search in forums or through google.
You can find almost everything that is sadly messy.
You can make your own help on your site with the things that work for you.
So you can best understand and learn Fabrik.
P.S.
This is not personal to you, but a suggestion for all who want to achieve and do something to work properly.
 
Oh..Now I get it. I was not asking for the code that I should use for condition.
But I do get it now. I can use the same plugin multiple times and depending upon some value I can choose to run that plugin or not. I can have multiple redirect plugins and the condition can decide which one of them will run.
Thanks. Its clear now.
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top