Skip to main content
cgi rand
Inspiring
Sep 28, 2018 5:46 PM UTC
Answered

Captivate Redirection Page Assistance Needed

I am using Captivate for the first time and one thing I would like to do is simulate a login page, using a username text input box, and a password text input box, on the same page, with a 'login' button (selected after entering username and password).

The instructions to the learner is to use a specific username and password.  If either of these are incorrect, the user should be directed to a 'error' page; if both are correct, they continue through the screens.

I have been able to have Captivate work with the correct username and password (Jumping to a specific slide, and continue through the slides).

I am having difficulties having the login page, with one or both incorrect data inputs go to the 'error' page.

The sign-on page has:
TEB for username
Style:  retain text, show text box frame, validate user input
Actions:  on success continue, infinite attempts, shortcut: enter, on focus lost: no action

TEB for password
Style:  retain text, show text box frame, password field, validate user input
Actions:  on success Jump to slide ##, infinite attempts, shortcut: enter, on focus lost:  no action, show button

Suggestions, comments?

Thank you.

This topic is closed to new replies. Start a new post to keep the conversation going.
Lilybiri
LilybiriCorrect answer
Legend
Sep 28, 2018 5:58 PM UTC

Your problem is due to 'Infinite Attempts'. The result of that setting is that you do NOT have a Last Attempt action which is what you need.

Since you want to check after both TEB's have been filled in, do not use the validate setting, but you'll have to use an Advanced action to be triggered by one custom  Submit button. >Both TEB's have an associated user variable, you have to check the content of those varialbes and compare it with the correct entry. If any ot those comparisons fails, you have to navigate the user to the error slide.

I will label the variables as v_name and v_pass (I dont like the generic names, they are confusing.

The advanced action for the Submit button will be something like this:

IF v_name is equal to xxxxx  AND

    v_pass is equal to  yyyy

Jump to correct slide

ELSE

Jump to incorrect slide

2 replies

Lilybiri
LilybiriCorrect answer
Legend
Sep 28, 2018 5:58 PM UTC

Your problem is due to 'Infinite Attempts'. The result of that setting is that you do NOT have a Last Attempt action which is what you need.

Since you want to check after both TEB's have been filled in, do not use the validate setting, but you'll have to use an Advanced action to be triggered by one custom  Submit button. >Both TEB's have an associated user variable, you have to check the content of those varialbes and compare it with the correct entry. If any ot those comparisons fails, you have to navigate the user to the error slide.

I will label the variables as v_name and v_pass (I dont like the generic names, they are confusing.

The advanced action for the Submit button will be something like this:

IF v_name is equal to xxxxx  AND

    v_pass is equal to  yyyy

Jump to correct slide

ELSE

Jump to incorrect slide

Translate
cgi rand
cgi randAuthor
Inspiring
Oct 1, 2018 2:28 PM UTC

Thank you.

Translate