Jump to content

HTML FORM IF..then


Recommended Posts

Hello there 😉 I'm stuck google is not helping me,  I need a little help form you guys..

This is the scenario if any of Hongkong1, Hongkong2 and Hongkong3 value is greater than "0" then Noodle value is equal to "1", ill be using this on our Daily Inventory 😓

<!DOCTYPE html>
<html>
<body>

<h2>HTML Forms</h2>

<form action="/action_page.php">
 NOODLES:
  <input type="text" name="Category" value="" size="2">
 <br>
 <br>
 Hongkong1:
  <input type="text" name="Hongkong1" value="" size="2">
  <br>
  Hongkong2:
  <input type="text" name="Hongkong2" value="" size="2">
  <br>
 Hongkong3:
  <input type="text" name="Hongkong3" value="" size="2">
  <br><br>
  <input type="submit" value="Submit">
</form> 

</body>
</html>

 

Any Idea?, Thank you.. 😘

Link to post
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...