Hi everyone, I am trying to redirect and I tried everything and it´s just not working,
I have a table of CLIENTUSERS, with EMAIL and PASSWORD fields as login fields in the Authentication Wizard, and I created an extra field for CLIENTTYPE, but the redirects just don´t work. What kind of Field is it supposed to be? a text or number field? the redirect keeps taking me to the last option, it just goes to the last "else.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
joseangelflores
Hi everyone, I am trying to redirect and I tried everything and it´s just not working,
I have a table of CLIENTUSERS, with EMAIL and PASSWORD fields as login fields in the Authentication Wizard, and I created an extra field for CLIENTTYPE, but the redirects just don´t work. What kind of Field is it supposed to be? a text or number field? the redirect keeps taking me to the last option, it just goes to the last "else.
Thanks for the support.
if("[@authfield:TIPOCLIENTE]" == "NMS"){
window.location = "http://www.mysite.com/manager.html";
}
else if ("[@authfield:TIPOCLIENTE]" == "CAINTRA"){
window.location = "http://www.mysite.com/staff.html";
}
else if ("[@authfield:TIPOCLIENTE]" == "CAINTRADM"){
window.location = "http://www.mysite.com/staff.html";
}
else{
window.location = "http://www.mysite.com/other";
}
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.