I'm very novice at programming and haven't had any luck in finding a tutorial useful for what I want to do.
I am creating a form that will have 2 drop down selections and then one input box which will produce a price depending on the 2 selections.
For the first drop down it will be a type of event. The second will be a selection of adult, child, or student (each selection has its own set ID). Then I want to produce prices dynamically that will appear in a text box based on the user's selections so something sort of like the following (I'm still figuring out JavaScript so bear with me this will be a poor example):
while eventid == 2
{
if registration == adult;
price == 45;
}
Any help would be appreciated.