Skip to main content
This topic has been closed for replies.

3 replies

ebbaliAuthor
Participant
March 1, 2018

I was hoping it was possible to do the multiple validate without doing any coding since I am looking for an easy way to do the simulation and validation of a form that people with no coding skills can use for their learning material.

Lilybiri
Legend
March 1, 2018

I didin't use real scripting in that blog post. However it is not very clear what you mean by 'validation'? Is there only one correct entry for each text entry box? Do you need scoring for the validated boxes?

ebbaliAuthor
Participant
March 1, 2018

I don´t need scoring for each text box. Just that the inputs are correct for the whole frame. But if some input is not correct the user must get a notification of where the error is.

Stagprime2687219
Legend
February 27, 2018

The short answer is 'Yes'.

A side note:

I ran into this need a while back and, for me, all my puzzling went away as soon as I realized that the variables behind each of the text entry boxes were updated on every keystroke.

You see, I initially thought that since each text entry box came with a submit button that the learner would have to press submit in order to commit the value to the variable. Once I realized that was not the case, I could delete all the submit buttons and craft a homemade submit button with some advanced action or javascript behind it to validate them all at once.

RodWard
Community Expert
Community Expert
February 27, 2018

Yes that is correct.

But you also need to remember that only a TEB that gets validated the normal way (with its own submit button action or auto-submit action) is going to give you an On Success score that you can get reported to the quiz.  That's why Lieve was asking about whether or not you needed a score.

Lilybiri
Legend
February 27, 2018

What do you mean by 'validate' exactly? Do you only want to test of the entries are corerct or do you need a score as well?

This is an old blog post I wrote many years ago, but it gives you a possible workflow:µ

One Submit button for Multiple Text Entry Boxes? - Captivate blog