Hi all, I have a problem where i need to assign a value (numerical) depending on an option that is selected. Below is the example code. More than 15 years ago I would write software in various languages, but never really used HTML. Now I am trying to learn but am having lots of issues trying to decipher the meanings and the correct use of all the code. And everytime i start to read something about it, I fall asleep literally, It happens when ever i really want to know something. Think i have to get the eyes checked.
Here is the code
<div id="item6" class="fb-item fb-33-item-column">
<div class="fb-grouplabel">
<label style="DISPLAY: inline; FONT-WEIGHT: normal" id="item6_label_0">
Use of the Neville Frost Arena
</label>
</div>
<div class="fb-dropdown">
<select id="item6_select_1" name="NFA" data-hint="">
<option id="item6_0_option" value="None" selected>
None
</option>
<option id="item6_1_option" value="1 - 20 People $300">
1 - 20 People $300
</option>
<option id="item6_2_option" value="21 - 50 People $400">
21 - 50 People $400
</option>
<option id="item6_3_option" value="51 - 100 People $500">
51 - 100 People $500
</option>
</select>
</div>
</div>
Now I need to be able to find out which option was selected and then assign a value depending on the item, this value then needs to be displayed.
I am so confused right now between html and html5 and php etc
I was going to wait till form builder had something like this built in, but now the people using the form are complaining that they have to add everything up themselves. So its become more of an issue for me. As I said the more I read the more I fall asleep resulting in me becoming more confused. Can anyone help me. This used to be so simple when I was writing software
how to add an condition and assign a...
Here's some pretty good info.
http://www.w3.org/TR/html4/interact/forms.html

http://www.w3.org/TR/html4/interact/forms.html
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Thanks Eric. I am reading that address you left for me. It has better explanations of some of what i am looking for, which will make it easier.
One thing I did notice they seem to layout the drop down box type menus different to the way c/c forms do. Some thing else i would like to know, What gets stored in NFA from the above example, is it the actual value of what was selected (such as 1 - 20 People $300) or is it the option id (such as item6_1_option)
One thing I did notice they seem to layout the drop down box type menus different to the way c/c forms do. Some thing else i would like to know, What gets stored in NFA from the above example, is it the actual value of what was selected (such as 1 - 20 People $300) or is it the option id (such as item6_1_option)
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.