How to validate the format of the SSN
How can I validate the input SSN is in the format XXXX-XXXX-XXXX or not
You must write a custom method to validate the format.
It depends on where you want to validate. If that's all by accepting an entry from the page, you can use regular Expressions, or you can use the string splitting and validate according to what you need.
If it's during recovery of the database, you can do it even in the application it self.
You can write the logic and let us know if you get stuck or gettting error.
See you soon
AJ
Tags: Oracle Applications
Similar Questions
-
How to validate the field "Reason for change" in the commercial indications using JavaScript?
How to validate the field "reason for change" in the commercial directions Summary tab using JavaScript?
Current version of PLM4P: v6.1.1.5.2
Please help me to validate the fields using JavaScript.
Thank you
Nefertari
Developed using some of the Javascript predefined functions that we offer, it's just JavaScript and jQuery.
But here is an example.
(Use Internet Explorer F12 developer tools to find the IDS of the fields to work with.)
$(document).ready(function() { if (UI_Ext_isSpecInEditMode && UI_Ext_HasWorkflowBehavior('1005')) { //normally, we can use jquery to retrieve elements ($('#ifOfInput).val()), but it seems to fail when the id and the name attributes are the same. so we just use javascript document.getElementById instead. var reasonForChange = document.getElementById('ctl01$SpecSummaryctl1$ctlCollapsibleContentContainer$ctl00$txtChangeReason') if (reasonForChange != null) { if (reasonForChange.value == null || reasonForChange.value.length == 0) { UI_Ext_MarkFieldAsRequired('ctl01_SpecSummaryctl1_ctlCollapsibleContentContainer_ctl00_lblSpecSummaryReasonforChange'); alert('Reason For Change is required'); } } } });
However, not the user registration or workflow specification. If you were to do this, you must remove record them and workflow buttons and links, and this probably isn't the best practice. On the contrary, you would write validation server that would give you this error message if they try to save/workflow. (So most customers do not use Extensions of the user interface for this type of validation).
Kind regards
Ron
-
How to validate the license if installed XP from another drive?
Hi all...
* original title - how could validate my old driver's license if I cause istalled the BONES of another license (CD), I don't have the original to my PC (laptop IBM) CD? *
Have you used "Your" product key during installation of operating system from another CD?
Also is the an OEM XP CD or a CD at retail with the product key?
Here are some utilities, which will display your product keys:
Belarc Advisor: http://www.belarc.com/free_download.html
(He did a good job of providing a wealth of information.)Also: http://www.magicaljellybean.com/keyfinder.shtml
and: http://www.nirsoft.net/utils/product_cd_key_viewer.htmlNote: Also check the side of your PC case or at the bottom of the laptop for the
Key OEM code. If there is a sticker with the code, it will probably not
corresponds to what is displayed by the utilities mentioned above as OEM such as
Dell use an internal key code when they build your PC.The key on the sticker code should be used with your Windows CD
(who came if everything goes well with your PC) If you need to reinstall Windows.Never be afraid to ask. This forum has some of the best people in the world to help.
-
How to validate the columns in tabular form date?
Hello
I have two columns in tabular form date
1.start_date 2.End_date so here I need validate the end_date shouldn't be less than column start_date
so any solution for this?Hello
use a validation of type "Function returning a Boolean" and the following code:
IF to_date(:YOUR_END_DATE,'YYYY-MM-DD') < to_date(:YOUR_START_DATE,'YYYY-MM-DD') THEN RETURN FALSE; ELSE RETURN TRUE; END IF;
The date format is of course your choice.
I hope this helps...
Thank you
Sandro -
How to validate the data of the LOV
Hello
How to validate data from field lov?
Requirement is my page 2 lov fields, this is a load of lov.
The fields will not allow invalid lov fields data when I click 'Save' button. Then, I need to display a message "select valid values in the lov fields."
Can someone help me on this req...
Thank you
Published by: 926074 on April 12, 2012 13:23Hello
Then, you will need to add the validation logic in the action to add another button of line also.
OAAdvancedTableBean tableBean = (OAAdvancedTableBean) webBean.findIndexedChildRecursive ("AdvTableId");
OATableFooterBean footerBean = (OATableFooterBean) tableBean.getFooter ();
if(footerBean!=null)
{
If ((tableBean.getName (pageContext) .equals (pageContext.getParameter (SOURCE_PARAM))) & (ADD_ROWS_EVENT.equals (pageContext.getParameter (EVENT_PARAM))))
{
DO the validation performed in Save button here too}
}Try this if it works.
Kind regards.
-
How to validate the number of characters in the text entry box?
Hello
I have inserted a text box entry and assigned a variable (UserName). Now, I need to limit the entry of a number, maxinum of 20 characters. In other words, how can I validate the number of characters in the text entry area and provide feedback if it is more than 20 characters?
I think that you should study the Jim Leichliter widget that allows you to use regular Expressions to validate text input.
-
How to validate the Date value in the text column
Hi all
I entered DATE value in the element of text field (Char Data Type), now how do I validate, the entered date is valid or not.
Thanks in advance.Well, the easiest would be to make the part of DATE data type.
Another possibility is to try to convert the value to a date in the WHEN-VALIDATE-POINT-trigger, as
DECLARE dt DATE; BEGIN dt:=TO_DATE(:BLOCK.ITEM); -- if code comes here, the date is valid EXCEPTION WHEN OTHERS THEN -- seems to be no valid date MESSAGE('Error'); RAISE FORM_TRIGGER_FAILURE; END;
Published by: Andreas Weiden on 19.12.2010 12:23
-
How to validate the field LOV?
Dear members,
I have an OFA Page in which there are two fields i.e., F1 and F2.
I created two lov ' Lov1 and Lov2. Lov2 is a dependent lov Lov1-based.
Lov1 attached to F1.
Lov2 attached to F2.
When Iam by entering values in the F1 or F2 which do not appear in their respective lov, no error is encountered. IAM able to save these values as well.
Any one can you please tell me how to validate fields lov, my requirement is whenever I get a wrong value that isn't in the lov, I want to display an error message.
I tried selecting the value 'Yes' for the property "use for Validation" in lovmappings, and there is still no use. "
Thanks in advance.
Best regards
Arun D. ReddyTry the following steps:
What we need to do is the following.
1. create a formValue field in the form.
2. in the LOV create a mapping, with return element as the ID of the created formValue field.
3. also for this map, together 'use for Validation' = yes.It works like a charm now and the user cannot enter invalid values.
Thank you
-Anil
http://oracleanil.blogspot.com/ -
How to validate the interactive transformation?
When I hit enter or double-click to validate the interactive processing stage, I get an error.
Turn into double layer
function InteractiveTransform() {}
app.runMenuItem (charIDToTypeID ("FrTr"));
};
InteractiveTransform();
Error:
InteractiveTransform() is a function someone wrote wrote and it looks like the the function intercepts not a cancellation or any changes made by the user. surround the function with a try catch or difficulty of the function add a try catch inside...
try {InteractiveTransform()}
catch (e) {alert ("Image transform cancelled") ;}}
try {}
InteractiveTransform()
}
{catch (e)}
= Interactive Transform =.
function InteractiveTransform() {}
Edit > free transform
var desc1 = new ActionDescriptor();
var ref1 = new ActionReference();
Ref1.putEnumerated (cTID ('Mn'), ('MnIt') cTID, cTID ("FrTr"));
DESC1.putReference (cTID ('null'), ref1);
try {}
executeAction (cTID ('slct'), desc1, DialogModes.NO);
}
{catch (e)}
};
-
How to validate the hide checkbox on shares of invoice
How we check validate hiding in the Actions of the invoice.
Thank you
Abdul WasiHi Adam,.
PL. create new personalization rule as shown below. (according to EBS 11i - 11.5.10.2 worm)
TRIGGERING EVENT: A TIME-NEWS-BLOCK-INSTANCE
TRIGGER OBJECT: INV_SUM_ACTIONSIn the ACTIONS TAB:
TYPE: PROPERTY
OBJECT TYPE: AGENDA
TARGET OBJECT: INV_SUM_ACTIONS. APPROVE THE
PROPERTY NAME: POSTER
VALUE: FALSEAPPLY THIS RULE & switch responsibility and retest it.
HTH
Sanjay -
Hi all
I have the Create page two fields are there, that this is the date data type
If the closing date should less than the opening date I raises the exception 'closing date should not less than the opening date.
Suppose that if the user didn't enter the opening date and directly enter the closing date in my case, it goes with the exception of null pointer
I have the partial action of fire on the closing date
' public void xxqtndatevalidate (String qtnvalidate, String qtndate) {}
/ * convert date format * /.
Day qtnvaldate = new Date (qtnvalidate);
Day qtndat = new Date (qtndate);
If (qtnvaldate.compareTo (qtndat) < 0) {}
oracle.apps.fnd.common.MessageToken chips [] = null;
throw new OAException ("XXCRM", "XXCRM_QUOTATION_VALIDATE", chips,
((byte) 0, null);
} }
in co I call you like that
String qtnvalidation = pageContext.getParameter ("QuotationValidity");
String qtndate = pageContext.getParameter ("QuotationDate");
If ("validate".equals (pageContext.getParameter (EVENT_PARAM)))
{
AM.xxqtndatevalidate (qtnvalidation, qtndate);
}
Concerning
AnthonyIf ("validate".equals (pageContext.getParameter (EVENT_PARAM)))
{
String opndate = pageContext.getParameter ("OpeningDate"); Choose the opening date
If (opndate! = null)
{
AM.xxqtndatevalidate (qtnvalidation, qtndate);
}on the other
{
throw new OAException ("Please enter the first opening date", OAException.Error);
}}
Thank you
-Anil -
How to validate the data in the source
Hi all
I am new to ODI, in my process could be called in 2 modes of Validation and load
a. validation - V - should perform validation on the data from the source according to the filter criteria
b. load - L - could make a mandatory check and load the data into the target table
My concern is how do only validation on data sources, please share any ideas on this...
Thanks in advance...Dragging data store in the package in order to apply the static control, you are doing your validation without loading.
This validation step will copy the invalid data in the table of errors (E$) and you can also decide if you want to remove from the source (and keep the data only in the error table). -
How to validate the columns in detail on a master page / retail
How do you add validation for detail on a master page items/columns / detail? For example I want to run a validation 'not null' on a column in a detail row when the user tries to add a new line.
Published by: user9108091 on October 12, 2010 08:58You are here http://download.oracle.com/docs/cd/E17556_01/doc/apirefs.40/e15519/apex_app.htm#CHDDADIE
and here are all the documentation
http://www.Oracle.com/technetwork/developer-tools/Apex/documentation/index.html___________________
Be sure to mark the appropriate fix/useful messages. :) -
How to validate the performance of I/o using calibrate_io
Dear Experts,
I ran the calibrate_io as recommended by the expert, but now, I am not able it analysed.
01:38:29 SQL> declare 01:38:55 2 l_latency integer; 01:38:55 3 l_iops integer; 01:38:55 4 l_mbps integer; 01:38:55 5 begin 01:38:55 6 dbms_resource_manager.calibrate_io ( 01:38:55 7 4, 01:38:55 8 10, 01:38:55 9 l_iops, 01:38:55 10 l_mbps, 01:38:55 11 l_latency 01:38:55 12 ); 01:38:55 13 dbms_output.put_line ( l_iops); 01:38:55 14 dbms_output.put_line (l_latency); 01:38:55 15 dbms_output.put_line( l_mbps); 01:38:55 16 end; 01:38:55 17 /
.START_TIME : 09-MAR-14 01.38.58.619000 AM
.END_TIME : 09-MAR-14 01.43.35.354000 AM
.MAX_IOPS : 87
.MAX_MBPS : 54
.MAX_PMBPS : 9
.LATENCY : 10.NUM_PHYSICAL_DISKS : 4
select * from v$io_calibration_status
.FILE_NO : 139
.FILETYPE_ID : 2
.FILETYPE_NAME : Data File
.SMALL_READ_MEGABYTES : 2119
.SMALL_WRITE_MEGABYTES : 5559
.LARGE_READ_MEGABYTES : 293883
.LARGE_WRITE_MEGABYTES : 20828
.SMALL_READ_REQS : 66028
.SMALL_WRITE_REQS : 390746
.SMALL_SYNC_READ_REQS : 35648
.LARGE_READ_REQS : 295787
.LARGE_WRITE_REQS : 84528
.SMALL_READ_SERVICETIME : 13955851631
.SMALL_WRITE_SERVICETIME : 413902932
.SMALL_SYNC_READ_LATENCY : 7610803738
.LARGE_READ_SERVICETIME : 1385363733
.LARGE_WRITE_SERVICETIME : 7769742
.ASYNCH_IO : ASYNC_ON
.ACCESS_METHOD : OS_LIB
.RETRIES_ON_ERROR : 0
-----------------I have 40G RAM wndows 2012 os 11 GR 2 database
I have 4 2 TB drives, but I think that my IO is slow.
I have table of 500G and I need to create 20 indexes (each 10 GB) on it, and it's very slow.
Each index is 2.5 hours and running more to create indexes in parallel session is not to reduce the time spent together.
Question : Is my disk IO slow?
Ok
For now, I'm going to assume there is a paging file (pagefile.sys) and it's on C:
I will assume you also do not have RAID, or you have RAID-5.
Your data, it is clear that you have a bottleneck of e/s on the D drive.
More than 40 applications for e/s in the queue is considered to be the IO bottleneck.
Refer to
Disk Avg. QUEUE length 51,000 51,000 0
Disk AVG READ TAIL length 51,000 51,000 0
The i/o bottleneck is caused by having everything on one disc.
This also translates single Point of failure.
(If this breaks your database is ready for the funeral, if you do not have a backup).
Oracle recommends to use RAID 1 + 0 (= SAME band and the mirror). To aid that it would be no more important where the files are.
A SAN or a NAS would be a good RAID 1 + 0 configuration.
You might want to consider also buying conventional additional disks and separate data and indices.
However using RAID technology good should not be necessary.
-----------
Sybrand Bakker
Senior Oracle DBA
-
How to validate the e-mail domain
looking for a script that will make validation of the e-mail domain client-sideSorry,
I not read your example of address very well the first time.^ ([_a-z0 - 9-] + (\. [_a-z0-9-]+)*@us\.mycompany\.com)?$
Maybe you are looking for
-
No options display remote content message after update to Thunderbird version 31.0
Version of Thunderbird 31.0 updated via his usual auto update and now I can't see the remote content of new messages. Through online searches I found references to the fact that the button "Display remote content" is now replaced by a new notificatio
-
iPad 2 iOS 9.3 Flickering Pixels of Air
I searched some forums/sites and can not find someone else who has reported this problem (yet)... Immediately after the upgrade today... For most on the videos, but also if I bring up the background shortcut bar, or if I scroll quickly in Safari, etc
-
Satellite L300D - 18 d - after restoration, I can not play games
Hello Recently, I have restored my hardrive because I had a virus, and since then I can not play.Any1 can tell me what I can do? Thx a lot
-
Satellite 1130-Z25: where can I get a first recovery CD disc
Hello Just wondering if someone can help or provide information, I have the Toshiba above and some how the software has been altered, so I inserted the recovery cd (because there are 2) who returned after about 33% with an error. After checking the f
-
Why does my 7th generation nano play different versions of the same song (acoustic, demo, replacing) one after another before she switches to a different song?