Branching:Statistics on option user chose
June 13, 2008 12:00 AM
Hello Goran and WeeOrg.If I may add a suggestion to this discussion.One way to do this would be;1. Have two buttons that would indicate Branch 1 and Branch 2.2. Add a Form (name of form: BranchForm_1) with the properties checked for "Submit form to CGI program: POST" and then submit the results to "sendbranch.asp". Check the button, "Include all variable values in form submission". Do not check to submit success dialog to student.3. For the button called Branch1: For the tab, On Click, Action: Submit FormTarget: BranchForm_1Then add an Action to the button with the properties;On: Mouse ClickAction: Go ToTarget: Chapter, Section, or PageName: BranchPage 1Scroll To: Top of Page4. For the CGI program, you would use a ASP script as seen by those on the Forum but make a slight change to reflect the Branch associated with the button, Branch1. (you are effectively hardcoding the data into the asp code.The change would be; (sendbranch.asp)<%@ Language=VBScript %><%'Get the parameters posted from the form'e1="Branch1"This would be the only parameter you would need to pass. You would also create a database with the column called e1 to capture the information sent.Repeat the above for the other Form, Button, Database, Action associated with the Button, and the second CGI program.. Make sure to name these other objects, BranchForm_2, Branch2 and sendbranch2.asp respectively.Now when a student clicks on either button for the branch they choose, the asp script will send the data to the respective database.I am sure this can be refined but it is a start.Regards,Edited By: bruman on 2008-6-17 17:27:23
Discussions have been disabled for this post