HOME ➔ SUPPORT ➔ Community ➔ General CourseLab issues ... javascript and forms
javascript and forms
  View type:
Hi I was wondering if it is possible to use some form controls like text input and check boxes. Have the user input their name, what work background they are from and then at the end of the course once they reach a predetermined pass mark to display a congratulations note which includes their name etc... ???[:confused:]
 
This is very easy in Courselab.
Here is a step by step on how to do it:
1. Insert your Form / Text input
2. Double click on the Text input form and put a unique name in the Run-time variable name field. For this example I will use the word "name".
3. Since you want to capture the information at the end of the module you will need to set the Variable Scope field to "Current module"
3. There are different ways to display what the user has input in your Congratulations page the following is only one of them;
- Use another Form / Text Input and place it where you want the information they have typed to appear
- Right mouse click on the Slides pane on your Congratulation slide and select Actions / afterdisplay / then double click on METHOD under Actions.
- You will see a "String or Sentence" under Object, double click on it, now you should see 3 fields Object - Method & Value.
- Click the Ellipse button of the Object and select the Text Input form for example "OBJ_24"
- Click the Ellipse button of the Method field and select SET VALUE then click OK
- And the last step is to type the variable name preceded by a # the variable we created earlier is called name so you should type #name.
Hope it works for you
Dan
Subject:
Message options
No additional options