Jump to content

Input form with contidional statements


lghovden06

Recommended Posts

I am doing a website for a meat locker and they want to be able to have people order online, but not pay online. I set up a simple php page with input forms and a text area. They want a more detailed one where you check checkboxes of the different cuts, because some people fill out the form and type that they want all t-bones and New York strip; which is impossible, you can only get a couple of those out of a animal. I want to make it conditional:

 

1st when you select your meat, pork, beef,etc. it displays only the cuts for the meat selected; when checked beef only beef cuts are displayed.

 

2nd: certain cuts only come from one part the animal, for example a t-bone and prime rib come from the same area, so you can not get t-bones and prime ribs only one or the other.

Other areas have four different cuts, example Top round steak, Bottom round steak, Round rump roast, and Eye round roast. You could get 2 or 3 of the different cuts, but not all four. So I want to make it possible to only check up to 2 or 3.

 

I am not very good at conditional coding and anything I was doing was way off :confused:. Need HELP!!!Thank You

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.