Jump to content

Input Button With If Statement


Recommended Posts

I can use some help writing my INPUT BUTTON with the IF statement. I am trying to write my webpage so the user inputs a code into an INPUT field with a BUTTON. IF the user inputs the correct code and clicks on the BUTTON, they will be directed to a different webpage within my site. IF the user inputs an incorrect code and clicks the BUTTON, text is returned telling them that the code is not correct.Can somebody help me with this code? I believe it should be fairly simply but I am missing something.Thank you!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...