How to use entering text and clicking a Submit button to get assessment points?

Jan 04, 2024

Hello, Heros

I am making a real mess here, and would love some help.

I'm trying to make a program in which students enter their answers to a question which can then be compared to an answer provided by the instructor.

I would like to give students 3 points if they type into the "answer" textfield AND click a Submit button.  How can I do this?

My apologies for not explaining it well.  I've attached a story file below.  Any help with this mess would be greatly appreciated.

 

 

 

1 Reply
Catherine Gorman

Hi Judith,

The easiest solution I can see would be to add a conditional trigger that adjusts your points variable when the submit button is clicked. I've attached an image of what that might look like.

You would need JavaScript if you only want to give them points if their answer contains certain words.