question
Hello!
I recently bought your book entitled: Beginning JavaScript.
I am having a scripting problem. I currently building a Filemaker Pro Registration database. For this project, I will be using a pop-up menu to list the courses. For example, Gourment Cooking-1:00pm-2:00pm. with a submit button and an alert box.
Each course has a seat limit. For example, Gourment Cooking has a seat limit of 10. When a user selects Gourment Cooking from the pop-up menu and clicks on the submit button an alert box should appear confirming that they successfully registered and the information stored in the database. However, when the seat limit is reach, a alert box should appear saying: Session Closed.
There are 6 different session but they are only allowed to register for two. So I will have 6 pop-up menus and 6 submit buttons.
I was planning to use a if/else loop, pop-up menus, alert box and a submit button, but I am not sure how to tie it all together.
Please give me a suggestion on how to make this work.
Tammy
|