2 text entry boxes, one submit button - possible?

Hi community!

I am new to Storyline and have come up against an issue. I created a freeform text entry quiz question that asks the learner to give two answers to one question. I'd like to have two text boxes and one submit button on the slide and a rule that the learner cannot submit their answer until both text boxes are populated. Is that possible and if so, how can I do it?

It would look something like this:

Q: List 2 colours.

______________

______________

SUBMIT

6 Replies
Pranali Chaudhari

Hi Jacqueline

I have seen your post and I have created one demo for text entry field. I think it matches to your requirement. but one thing is that I don't know how to control that loss focus. after filling both entry boxes I need to click outside that text entry and then only any trigger executed.

please check attached file, hope it will be helpful for you.

and hope I will also get solution which I am expecting on this post

Regards,

Pranali

Jacob Selin

I havent tried this but come to think of the following solution. 

Q: List 2 colurs
__________  On focus change or submit  show line 2
List the other colur__________ On focus change or submit show the submitbutton.

I.e in the beginning you just have one textbox, the other one is visible when number 1 is filled.  
and the submitbutton is visible when both are filled.  

Jacqueline Kelsall

Thanks Pranali and Jacob! 

Pranali, your demo is great, just what I was looking for. I haven't used number variables and 'control loses focus' triggers, so I will no need to go and do some more research on that!

Jacob - Great suggestion as well. That idea will definitely come in handy with other aspects of my course. Thanks!