Email Validation in the Candidate Registration Process
-
Upload
papinenisandeep -
Category
Documents
-
view
222 -
download
0
Transcript of Email Validation in the Candidate Registration Process
-
8/12/2019 Email Validation in the Candidate Registration Process
1/13
Email Validation in the Candidate Registration Process
GOAL:
Using iRecruitment, job seekers can visit an enterprise's job site, search for jobs, refer
jobs to other individuals, and add jobs to a temporary job basket. They can self-register
in iRecruitment to submit job applications to vacancies, by providing some personal
information such as First Name, Last Name, Email Address and Password. When an
external visitor registers, iRecruitment creates an Oracle HRMS user with the E-mail
address as the username and assigns the iRecruitment External Candidate, responsibility
to them.
During the self-registration process, the candidate might unknowingly enter invalid
characters in the Email address field, which might disallow the candidate from reentering
or logging into iRecruitment at a later point of time. Also, the candidate might miss some
important communication from the companys recruitersor hiring mangers. To eliminate
these kinds of mistakes and enable candidates to take corrective actions, customer might
want to validate the email address that candidates enter by displaying error messages and
prompting candidates to correct the email address.
By default, the Email address entered by the candidate is not validated to check for
correctness. This document explains how additional validations can be built in
iRecruitment: Candidate Registration process, if restrictions or validations are to be
applied on the Email Address field. For example, if the candidate has entered an invalid
email address, i.e., without the @ symbol or with multiple @ symbols, or a space
character etc, customers might want to display an error message.
Similarly, customers might want to display an error message when the candidate enters
an Email ID that includes the companys domain name for example: vision.com, as
employees are recommended to use the iRecruitment Employee Candidate
Responsibility, instead of the External Site: IrcVisitor.jsp.
-
8/12/2019 Email Validation in the Candidate Registration Process
2/13
This document explains how validation can be achieved using Oracle Applications
Framework (OAF) extension technique.
SOLUTION:
Using the Oracle Applications Framework extension (Controller Object (CO) extension)
technique, an error message can be displayed if the candidate enters some invalid
characters and clicks the Submit button on the Candidate Registration page.
This document covers some of the additional validations that can be built in iRecruitment
on the Email Address field, for some of the common mistakes encountered while entering
the email address in the candidates self-registration process.
As an example, we will see how validations can be built when the Email Address:
1. Contains, companys domain name for example: vision.com.2. Does not contain @ symbol3. Contains more than one @ symbols4. Contains spaces5. Starts with WWW or @ or .character.
Based on the customers requirements, other validations can also be developed similarly.
-
8/12/2019 Email Validation in the Candidate Registration Process
3/13
For performing CO extension, follow these steps:
1. Make a note of the CO being used on this page:
/oracle/apps/irc/candidateSelfService/webui/RegisterCO in our case
2. Extend the Controller ObjectLets name the new CO as RegisterValidateEmailCO
3. Override the processFormRequest method to check for the conditionrequired.
If the condition is true, then the system should display an error message If the condition is false, the registration process can continue as per the
existing functionality.
-
8/12/2019 Email Validation in the Candidate Registration Process
4/13
The condition should check if the Email Address entered, contains spacesor does not include a @ symbol, or includes > 1 @ symbol or starts
with www or . or , character etc.
Validation logic:i. First, to check if the Email Address includes the word: Domain name i.e.,
vision the following logic can be used.
ii. Next, to check if the Email Address includes at least one @ symbol, thefollowing logic can be used:
iii.
To check if the Email Address includes more than one @ symbols, thefollowing logic can be used:
iv. To check if the Email Address includes white spaces, the following logic can beused:
-
8/12/2019 Email Validation in the Candidate Registration Process
5/13
v. To check if the Email Address starts with either www or @ or . or spacesthe following logic can be used:
This is how the Controller Object will look when all the above validation logicis built.
-
8/12/2019 Email Validation in the Candidate Registration Process
6/13
4. Through personalization, change the controller class in the following PG:/oracle/apps/irc/candidateSelfService/webui/VisRegisterPG
Enter the fully qualified class name. For example, if the extended class is namedas RegisterValidateEmailCO, then the fully qualified name of the class that you
need to entered in the personalization is:
com.customer.irc.candidateManagement.webui.RegisterValidateEmailCO
-
8/12/2019 Email Validation in the Candidate Registration Process
7/13
-
8/12/2019 Email Validation in the Candidate Registration Process
8/13
After performing the above steps, you will observe that an error message is
displayed for the validations that are configured:
1. When the Email Address includes the word vision
The following error message is displayed:
-
8/12/2019 Email Validation in the Candidate Registration Process
9/13
2. When the Email Address does not include @symbol
The following error message is displayed:
-
8/12/2019 Email Validation in the Candidate Registration Process
10/13
3. When the Email Address includes multiple @ symbols
The following error message is displayed:
-
8/12/2019 Email Validation in the Candidate Registration Process
11/13
4. When the Email Address includes white spaces
The following error message is displayed:
-
8/12/2019 Email Validation in the Candidate Registration Process
12/13
5. When the Email Address entered starts with: www, @ or, .
The following error message is displayed:
-
8/12/2019 Email Validation in the Candidate Registration Process
13/13
Email Validation in the Candidate Registration Process
August 2010
Author: Sarma Balantrapu
Oracle Corporation
World Headquarters
500 Oracle Parkway
Redwood Shores, CA 94065
U.S.A.
Worldwide Inquiries:
Phone: +1.650.506.7000
Fax: +1.650.506.7200
oracle.com
Copyright 2010 Oracle. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice.
This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether expressed orally or implied in law, including implied
warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual
obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or
mechanical, for any purpose, without our prior written permission. Oracle, JD Edwards, and PeopleSoft, are registered trademarks of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective owners.