Hi , i want to control the redirection via matching with a list in the DB or in a text or php file
for example we have form with a single line text field as ” Discount Code ” its not a required field of course
and we have several lists of codes ( 75% codes , 50% codes , 25% codes .. etc ) so when the clients enter a 25% will be direct to a specific page and the same thing with the other lists .. so we need to match the value with all the lists the redirect the client to the right page .. if the code is wrong then the form will show an error message next to the field .. if the field empty the client will be redirected to a default page ..