Description

in a from i have display four field

first name
last name
promocode
email

when i click submit button this will return a another where another
from will open and fetch data from data base ]

i want to display data conditionaly when user put promocode in firstfrom
at first i want to check this promocode will start with 4(as example 44444)
then we redirect an page valid.html otherwise we redirect result.htmlhow to do this
please healp