Smart Script - Validation for Required Questions Should Return Focus to the Specific Question (Doc ID 2047127.1)

Last updated on AUGUST 30, 2015

Applies to:

Siebel SmartScript - Version 8.1.1.11.13 [IP2013] and later
Information in this document applies to any platform.

Symptoms

On : [IP2013],Smart Script

ACTUAL BEHAVIOR
---------------

Suppose we have some required questions on a page and user skips some of them
and clicks on Next / Finish button, which shows an alert box stating those
questions which have been skipped.
And after user clicks on the OK button in alert box,the focus returns to the very first question on that page(even if it is answered)


EXPECTED BEHAVIOR
-----------------------

If user skips some mandatory question on a page and clicks on Next / Finish button, it pops up an alert message.
Clicking OK on the alert box, the focus should return to the specific question which has been skipped.
Say for example, say we have 5 Must Answer questions on a page, and user answers Question 1 and  Question 2
and then clicks on the Next/Finish button, which pops up the alert message.

Now after clicking OK on the Alert box the focus should be on the 3rd question and not on the first question.



STEPS
-----------------------
The issue can be reproduced at will with the following steps:

If we execute Out of the box SmartScript "Reseller Program", we would notice

On the first Page, there are three Required Questions:

- Revenue for immediate past fiscal year (currency)*
- Revenue projection for current fiscal year*
- Describe your value added solutions*

Say after filling the 1st question and 2nd question, if we press the Finish
button, we get a pop-up alerting the user that the 3rd question is mandatory
and have not been answered and the focus stays on the first question which is answered.

Say after filing only the 2nd question (1st and 3rd are blank), if we press
the Finish button, we get a pop-up alerting the user that the 1st and 2nd
questions are mandatory and have not been answered and the focus stays on the first question



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms