How to validate a date item  "DD/MM/YYYY HH24:MI" ?

Hi,
I want to create a validation item. I have a date item usinhg this mask : "DD/MM/YYYY HH24:MI".
I want to validate if a date entered according to this syntax "DD/MM/YYYY HH24:MI"
Unfortunately APEX gives me only the choice to validate if a date is under the form "DD/MM/YYYY" which gives this syntax :
^([012]?[[:digit:]]|3[01])/(0?[[:digit:]]|1[012])/[[:digit:]]{4}$I don't know this syntax, do you know how I could transform it (I mean adding the hours and minutes criteria) to attain my goal ?
Sorry for my english, not perfect, today !
Regards,
Christian

Try this:
SELECT REGEXP_INSTR('04-OCT-2011 23:12',
'^([012]?[[:digit:]]|3[01])-(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)-[[:digit:]]{4}[[:space:]][0-2][0-9]:[0-9][0-6]$') test_result
FROM dualFor case-insenstive matching, use below:
SELECT REGEXP_INSTR('04-OCT-2011 23:12',
'^([012]?[[:digit:]]|3[01])-(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)-[[:digit:]]{4}[[:space:]][0-2][0-9]:[0-9][0-6]$',1,1,0,'i') test_result
FROM dualThanks!
JMcG

Similar Messages

  • How to validate the dates in the table control ?

    How to validate the dates in the table control ?
    Can I write like this ?
    LOOP AT it_tab .
    CHAIN.
    FIELD : it_tab-strtdat,it_tab-enddat.
    module date_validation.
    ENDCHAIN.
    ENDLOOP.
    Module Date_validation.
    ranges : vdat type sy-datum.
    vdat-sign = 'I'.
    VDAT-LOW = it_tab-STRTDAT.
    VDAT-HIGH = it_tab-ENDDAT.
    VDAT-OPTION = 'BT'.
    APPEND VDAT.
    WHAT CODE I have to write here to validate ?
    and If I write like this How can we know which is the current row being add ?
    It loops total internal table ..?
    Bye,
    Muttu.

    Hi,
    I think there is no need to put chain endchain.
    To do validation you have to write module in PAI which does required validations.
    Thanks
    DARSHAN PATEL

  • How to validate a date in message mapping

    Hi experts,
                    how to validate a date in message mapping. For ex:  if date comes as 2008/02/31, then file it shold not get processed.how to achieve this in message mapping. Please help .
    Thanks&Regards,
    Reyaz Hussain

    Hi,
    There are few simple ways for date validation as follow,
    1.If you would like to handle it in XI only, then in message mapping you could verify about it with the help of generating smart exception.
    For e.g in mapping there is one Date conversion API i.e. somthing DateTransformation It converts the incoming date format to required format. Here give the date format i.e expected from Sender File.
    If in case the format miss-matched then it will create the exception.
    You could handle this exception with the use of [Alert notification|http://help.sap.com/saphelp_nw04/helpdata/en/2c/abb2e7ff6311d194c000a0c93033f7/frameset.htm] and could be even able to notify to sender system about it.
    2. The another solution is easy for SAP synchornous communication --If you are passing the file data to SAP, then you could use below function modules to verify date format in receiver RFC/BAPI or inbound IDOC program. If the sy-subrc is not 0 then don't process further.
    CONVERT_DATE_FORMAT
    ISU_DATE_FORMAT_CHECK
    Thanks
    Swarup

  • How to convert system Date into DD-MMM-YYYY Format

    hi friends,
    please help me How to convert system Date into DD-MMM-YYYY Format.
    Regards
    Yogesh

    HI..
    data: w_dt(11) type c,
             w_month(2),
             w_mon(3).
    w_month = p_date+4(2). **p_date = given date**
    case w_month.
    when '01'.
    w_mon = 'Jan'.
    when '02'.
    w_mon = 'Feb'.
    when '03'.
    w_mon = 'Mar'.
    when '04'.
    w_mon = 'Apr'.
    when '05'.
    w_mon = 'May'.
    when '06'.
    w_mon = 'Jun'.
    when '07'.
    w_mon = 'Jul'.
    when '08'.
    w_mon = 'Aug'.
    when '09'.
    w_mon = 'Sep'.
    when '10'.
    w_mon = 'Oct'.
    when '11'.
    w_mon = 'Nov'.
    when '12'.
    w_mon = 'Dec'.
    endcase.
    Now...
      concatenate p_date6(2)  '-'  w_mon  '-'   p_date0(4)  into w_dt.
    write w_dt.

  • How to validate the line item values in OFR - quantity , unit price and UOM

    Hi All,
    Is there any possibility to validate the line items like quantity, unit price and UOM against the DB and stops those invoices at verifier (1 batch =10 invoices) level  if yes could you please let me know the process how to proceed further.
    due to this some the invoices are coming to OFR is with incorrect quantity, UOM and unit price different from PO lines information like quantity , UOM and unit price and those invoices are not validating from the DB and these are processed to EBS and it's effecting the GL and reporting.
    Regards,
    Anil

    Hi ,
    I did not get the exact requirement.Let me bit:
    In standard AP project lines validation will try to compare the quantity , unit price and UOM of line against the database for match which actually performed on export.
    So even if match fails batch will be exported.Now if you want to correct it before EBS,i think you can do it in the business process easily that you are consuming whether BPEL/BPM process.
    We have done this in several projects
    =========================
    But If you want that to be done from OFR side i think we need to code  UserExitPONumberValidate event to  compare the line items values against database.I need to test this also.

  • How to validate when date format is diff Internally and externally

    Hello,
    How can I validate the Date format if Internal format and external format is different.
    Ex :
    *  SELECT SINGLE CRTSP
    **                FROM /SAPSLL/PR
    **                INTO L_CRTSP
    **                WHERE CRTSP IN S_CRTSP .
    CRTSP (YYYY/DD/MM HHMMSEC) Internal Format
    S_CRTSP (YYYY/DD/MM) External format - selection option
    I had done following to convert the internal format to external format.
    DATA : LV_DT TYPE STRING.
    DATA :  L_CRTSP TYPE /SAPSLL/CRTSP.
    SELECT SINGLE CRTSP
                    FROM /SAPSLL/PR
                    INTO L_CRTSP.
    MOVE : L_CRTSP TO LV_DT. "(YYYY/DD/MM HHMMSEC)
    L_LEN = STRLEN( LV_DT ).
    L_DATE = LV_DT+0(8).
    I have the date format that i need in L_DATE."  (YYYY/DD/MM)
    Now how should I validate?
    *  SELECT SINGLE CRTSP
    **                FROM /SAPSLL/PR
    **                INTO L_CRTSP
    **                WHERE CRTSP IN S_CRTSP .
    Please let me know how can I validate or how can I write the select query to validate this field.
    There should be some way using Wildcard or some function module...which I am not sure...
    Any suggestions will be appreciated!
    Regards,
    Kittu
    Edited by: Kittu on Jan 6, 2009 12:58 PM

    Hello,
    Thank you for youe response and I apprecaite the help so far.
    This logic work if it is Parameter...When I have select option it is not working as it is not taking the range values...
    SELECT GUID_PR "Primary Key as GUID in "RAW" Format
    CRTSP "PRODUCT CREATED ON
    CHTSP "PRODUCT CHANGED ON
    FROM /SAPSLL/PR
    INTO TABLE T_PR.
    DATA : T_PR1 TYPE TY_PR OCCURS 0 WITH HEADER LINE.
    DATA:  W_TEST    TYPE STRING,
           W_LV_LEN  TYPE I,
           W_LV_LEN1 TYPE I,
           W_LV_DATE(20)  TYPE C,
           W_LV_DATE1(20) TYPE C.
    DATA : W_V(8) TYPE C,
           S_CT(11) TYPE C.
    SORT T_PR BY CRTSP CHTSP.
    LOOP AT T_PR INTO WA_PR.
      W_TEST = WA_PR-CRTSP.
      W_LV_LEN = STRLEN( W_TEST ).
      W_LV_DATE = W_TEST+0(8).
    ** IF WE SELECT ONLY ONE DATE IN SELECT OPTION
    s_crtsp VALUE IS - IEQ20040101..bY REMOVING FIRST THRID DIGITS
    WE ARE GETTING THE S_CRTSP VALUE IS 20040101 AND THIS LOGIC IS WORKING FINE..
       MOVE S_CRTSP TO S_CT.
      W_LV_LEN1 = STRLEN( S_CT ).
      W_LV_DATE1 = S_CT+3(8).
    *  IF W_LV_DATE NE S_CRTSP
    IF W_LV_DATE NE W_LV_DATE1.
      W_FLG = 'X'.
        DELETE T_PR INDEX SY-TABIX.
      ENDIF.
      CLEAR W_FLG.
    ENDLOOP.
    Can we do anything for this...
    ANy suggestions would be apprecaited!
    Regards,
    Kittu

  • How to validate LOV data

    Hi,
    how to validate lov feild data ??
    Requirement is my page have 2 lov feilds, It is a dependent lov.
    The feilds will not allow the invalid data in lov feilds when i click on 'save' button. Then i need to display a message "select valid values in lov feilds".
    Can anyone help me on this req....
    Thanks
    Edited by: 926074 on Apr 12, 2012 1:23 PM

    Hi niranj,
    I am using submit button.
    All the properties what u r said exactly same. But it is not working
    PG.xml code
    <?xml version="1.0" encoding="UTF-8" ?>
    - <!-- dbdrv: exec java oracle/jrad/tools/xml/importer XMLImporter.class java &phase=dat+24 checkfile:~PROD:~PATH:~FILE &fullpath:~PROD:~PATH:~FILE -username &un_apps -password &pw_apps -dbconnection &jdbc_db_addr -userId "1" -rootPackage /oracle/apps/~PROD -rootdir &fullpath:~PROD:mds:directory
    -->
    - <page xmlns:jrad="http://xmlns.oracle.com/jrad" xmlns:oa="http://xmlns.oracle.com/oa" xmlns:ui="http://xmlns.oracle.com/uix/ui" version="9.0.3.8.12_1330" xml:lang="en-US" xmlns:user="http://xmlns.oracle.com/jrad/user" xmlns="http://xmlns.oracle.com/jrad" file-version="$Header$">
    - <content>
    - <oa:pageLayout id="MainRN" amDefName="wnsgs.oracle.apps.sysadmin.requestforaccess.server.RequestforAccessAM" windowTitle="Create New Responsibility" title="Create New Responsibility" controllerClass="wnsgs.oracle.apps.sysadmin.requestforaccess.webui.RequestAccessDetailsCO">
    - <ui:corporateBranding>
    <oa:image id="corporateBrandingImage" source="/OA_MEDIA/FNDSSCORP.gif" />
    </ui:corporateBranding>
    - <ui:contents>
    - <oa:advancedTable id="ResultsAdvTable" viewName="RequestAccessDetailsVO1">
    - <ui:contents>
    - <oa:column id="column4">
    - <ui:columnHeader>
    <oa:sortableHeader id="sortableHeader4" prompt="Request ID" />
    </ui:columnHeader>
    - <ui:contents>
    <oa:messageTextInput id="RequestId" viewAttr="RequestId" readOnly="true" dataType="NUMBER" />
    </ui:contents>
    </oa:column>
    - <oa:column id="column1" width="75%">
    - <ui:columnHeader>
    <oa:sortableHeader id="sortableHeader1" prompt="Application Name" cellNoWrapFormat="true" abbreviation="" />
    </ui:columnHeader>
    - <ui:contents>
    - <oa:messageLovInput id="ApplicationName" viewAttr="ApplicationName" readOnly="false" maximumLength="100" columns="60" unvalidated="false" required="no" queryable="true">
    - <lovContents>
    - <oa:listOfValues id="region5" amDefName="wnsgs.oracle.apps.sysadmin.requestforaccess.server.RequestforAccessAM">
    - <ui:contents>
    - <oa:table name="region5" id="ApplicationNamepoplistVO1">
    - <ui:contents>
    <oa:messageStyledText id="ApplicationName1" dataType="VARCHAR2" prompt="ApplicationName" viewName="ApplicationNamepoplistVO1" viewAttr="ApplicationName" maximumLength="240" queryable="true" selectiveSearchCriteria="false" required="no" />
    </ui:contents>
    </oa:table>
    </ui:contents>
    </oa:listOfValues>
    </lovContents>
    - <lovMappings>
    <lovMap id="lovMap1" resultTo="ApplicationName" lovItem="ApplicationName1" criteriaFrom="ApplicationName" useForValidation="default" requiredForLOV="false" />
    <lovMap id="lovMap3" lovItem="ApplicationName1" resultTo="link" useForValidation="default" requiredForLOV="false" />
    </lovMappings>
    </oa:messageLovInput>
    </ui:contents>
    </oa:column>
    - <oa:column id="column2">
    - <ui:columnHeader>
    <oa:sortableHeader id="sortableHeader2" prompt="Responsibility Name" cellNoWrapFormat="true" />
    </ui:columnHeader>
    - <ui:contents>
    - <oa:messageLovInput id="ResposibilityName" viewAttr="ResponsibilityName" columns="60" unvalidated="false" required="no" disabled="false" tipType="none" readOnly="${oa.DisableFeildPVO1.xxdisable}" rendered="true">
    - <lovContents>
    - <oa:listOfValues id="region6">
    - <ui:contents>
    - <oa:table name="region6" id="ResponsibilitypoplistVO1">
    - <ui:contents>
    <oa:messageStyledText id="ResponsibilityName" dataType="VARCHAR2" prompt="ResponsibilityName" viewName="ResponsibilitypoplistVO1" viewAttr="ResponsibilityName" maximumLength="100" queryable="true" required="no" />
    <oa:messageStyledText id="ApplicationName2" dataType="VARCHAR2" prompt="ApplicationName" viewName="ResponsibilitypoplistVO1" viewAttr="ApplicationName" maximumLength="240" />
    </ui:contents>
    </oa:table>
    </ui:contents>
    </oa:listOfValues>
    </lovContents>
    - <lovMappings>
    <lovMap id="lovMap2" lovItem="ResponsibilityName" resultTo="ResposibilityName" criteriaFrom="ResposibilityName" useForValidation="default" requiredForLOV="false" />
    <lovMap id="lovMap4" lovItem="ApplicationName2" criteriaFrom="link" useForValidation="default" requiredForLOV="false" />
    </lovMappings>
    </oa:messageLovInput>
    </ui:contents>
    </oa:column>
    - <oa:column id="column3">
    - <ui:columnHeader>
    <oa:sortableHeader id="sortableHeader3" prompt="Delete" />
    </ui:columnHeader>
    - <ui:contents>
    - <oa:image id="Delete" source="deleteicon_enabled.gif" prompt="delete" imageHeight="24" imageWidth="24">
    - <ui:primaryClientAction>
    - <ui:fireAction event="delete">
    - <ui:parameters>
    <ui:parameter key="Requestid" value="${oa.RequestAccessDetailsVO1.RequestId}" />
    </ui:parameters>
    </ui:fireAction>
    </ui:primaryClientAction>
    </oa:image>
    </ui:contents>
    </oa:column>
    <oa:formValue id="link" viewAttr="ApplicationName" />
    </ui:contents>
    - <ui:tableActions>
    - <oa:flowLayout id="region4">
    - <ui:contents>
    <oa:submitButton id="AddRow" text="Add Another Row" prompt="Add Another Row" />
    </ui:contents>
    </oa:flowLayout>
    </ui:tableActions>
    </oa:advancedTable>
    - <oa:rowLayout id="region3">
    - <ui:contents>
    <oa:submitButton id="Save" text="Save" prompt="Save" disabled="false" />
    <oa:spacer id="item1" width="5" />
    <oa:submitButton id="Submit" text="Submit" prompt="Submit" />
    <oa:spacer id="item2" width="5" />
    <oa:submitButton id="Home" text="Go to Home" prompt="Go to Home" />
    </ui:contents>
    </oa:rowLayout>
    <oa:formValue id="requestid" viewName="RequestforAccessHeadersVO1" viewAttr="RequestId" />
    <oa:formValue id="UserID" viewName="RequestforaccessVO1" viewAttr="EmployeeNumber" />
    </ui:contents>
    </oa:pageLayout>
    </content>
    </page>
    Thanks
    Edited by: 926074 on Apr 16, 2012 6:21 PM

  • How to validate the date in my class

    Hi
    In my project with jsp and struts I need to validate the date field.
    So in the action class I want to validate the date that is the date is in dd/mm/year format?
    can anybody please give some idea to do this?
    Thank you so much.

    Here is a method that validates day/month/year using the Calendar class.
         public boolean validateDate(int day, int month, int year) {
              try {
                   Calendar cal = Calendar.getInstance();
                   cal.clear();
                   cal.setLenient(false);
                   cal.set(year, month-1, day);
                   // need to call getTime() to make the calendar compute/validate the date
                   cal.getTime();
                   return true;
              catch (IllegalArgumentException e) {               
                   return false;
         }

  • How to validate the data in the table

    Hi Experts,
    My question is
    I am having a table control on my view. I need to validate the data entered by the user on the table
    and after validation i need to save the data into database table.
    Now my question is only related to Data Validation on table UI element.
    If the user enters 3 rows and if the 2nd and 3rd row are already existing,
    It should throw the message Entry already exists and the pointer should
    be at Row number 2 in this case.
    Similarly in the 2nd row i have a date field and if the user enters some character
    then it should throw an error message that Numeric values are only allowed and
    the pointer is placed in the 2nd row Date column so that it allows user to modify
    the wrong entry.
    Please advise.
    Regards,
    Chitrasen

    Hi,
    for validating user input in table , you have to get the entries inserted by user into an internal table using get_static_attribute_table and futher have your check using loop endloop.
    For date field, make the context attribute binded to date column as DATS. This would make sure the user inputs a valid date without your custom code.

  • How to convert the date format 'm/d/yyyy hh:mi:ss AM' to 'MM/DD/YYYY HH:M'

    How can i convert a the date format 'm/d/yyyy hh:mi:ss AM' to 'MM/DD/YYYY HH:MI:SS AM' in Oracle
    I have a query
    select UPPER(t.val_10) "TYPE", count(val_3) "Number of Transfers"
    from table1 t
    where t.is_active = 1
    and t.val_4 = 'INBOUND'
    and to_date(to_date(val_5,'MM/DD/YYYY HH:MI:SS AM'), 'DD/MM/YY') between to_date(to_date('01/08/2008 00:00:00','DD/MM/YYYY HH24:MI:SS'), 'DD/MM/YY') and add_months(to_date(to_date('01/08/2008 00:00:00','DD/MM/YYYY HH24:MI:SS'), 'DD/MM/YY'),1)
    group by UPPER(t.val_10)
    order by UPPER(t.val_10)
    I get the error [ORA-01861: literal does not match format string which i think is because
    val_5 has the values in the following format:
    8/29/2008 6:31:10 PM
    Does anyone have an answer?
    Thanks in advance
    Edited by: user2360027 on 26-Mar-2009 03:50                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    first off, you've got to_date(to_date(...)) - NEVER do this - you're forcing an implicit to_char which can cause all sorts of problems!
    What is the data type of your column val_5? If it's DATE then your query is simply:
    select UPPER(t.val_10) "TYPE",
           count(val_3) "Number of Transfers"
    from   table1 t
    where  t.is_active = 1
    and    t.val_4 = 'INBOUND'
    and    val_5 between to_date('01/08/2008','DD/MM/YYYY') and add_months(to_date('01/08/2008','DD/MM/YYYY') ,1)
    group by UPPER(t.val_10)
    order by UPPER(t.val_10)If it's a varchar2 (why, oh why, oh why, ...?!), then your query should be:
    select UPPER(t.val_10) "TYPE",
           count(val_3) "Number of Transfers"
    from   table1 t
    where  t.is_active = 1
    and    t.val_4 = 'INBOUND'
    and    to_date(val_5, 'mm/dd/yyyy hh:mi:ss AM') between to_date('01/08/2008','DD/MM/YYYY') and add_months(to_date('01/08/2008','DD/MM/YYYY') ,1)
    group by UPPER(t.val_10)
    order by UPPER(t.val_10)Remember that dates in DATE format are stored in an internal Oracle format - in order for you to tell Oracle that your string is a date, you need to use to_date. When you want to retrieve a date, you need to use to_char to put it into the format you want to see it in.
    Remember also that your nls_date_format defines the default format that you'll see a date, which is what is used in the implicit conversion that oracle does when you select a date:
    SQL> alter session set nls_date_format='dd/mm/yyyy hh24:mi:ss';
    Session altered.
    SQL> select sysdate from dual;
    SYSDATE
    26/03/2009 11:01:53
    1 row selected.
    SQL> alter session set nls_date_format='mm/dd/yy hh12:mi:ss AM';
    Session altered.
    SQL> select sysdate from dual;
    SYSDATE
    03/26/09 11:02:24 AM
    1 row selected.It doesn't make sense to convert something that's already in a DATE format into a DATE format - in order to do that, oracle has to first change the date into a string, and it does that by using the nls_date_format parameter setting - if you're working with dates-in-strings that are in a different format, then all sorts of problems arise, as you have found out!

  • How to get today date in mm/dd/yyyy

              How do i get today date in mm/dd/yyyy format ?
              Thanks
              Michael
              

    See java.text.DateFormat.
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com
              +1.617.623.5782
              WebLogic Consulting Available
              "Michael" <[email protected]> wrote in message
              news:3af8033f$[email protected]..
              >
              > How do i get today date in mm/dd/yyyy format ?
              >
              > Thanks
              > Michael
              

  • How to validate a date with time

    Hi All,
    How can I validate date with time?
    Here is my code:
    var tempDate:Date = new Date();
    if (tempDate < '09/18/2012 7:30:00 AM'){
         doSomething
    Thanks in advanced

    I think i got it to work.
    var tempDate:Date = new Date();
    var oldDate:Date = new Date('09/18/2012 7:30:00 AM');
    if ( Number(tempDate) < Number(oldDate) ){
         doSomething
    Best,

  • Who can tell how to validate a date in poor java?

    My programm can let user to input date in the default dateformat. Before save it to database I'd validate if the input is valid date. buf I can't find any function to do it both in java.util.Date and java.sql.Date, my program is as follow:
    DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT); // in default Locale
    java.util.Date testdate;
    input = jtfInDate.getText().trim();
    if(!input.equals("")) {
    try {
    testdate = df.parse(input);
    } catch(ParseException pe) {
    JOptionPane.showMessageDialog(this,
    "<html><font color=red size=4>invalid date format</font></html>",
    "warning",
    JOptionPane.WARNING_MESSAGE);
    return false;
    System.out.println("indate" +testdate);
    If I input "dafafa" in the jtfInDate(is a JTextField),the DateFormat can detect that's invalid and throw ParseException. But when I input "9999-99-99", the DateFormat can parse it without Exception!!!
    and print out as "indate=Thu Jun 07 00:00:00 CST 10007", year 10007!!!!
    "9999-99-99" is obviously a invalid date format. Why DateFormat.parse() can think is OK?
    Is this the java's excellency????
    Could anyone tell me how to judge a string of date is valid?

    You can use the setLenient method to tell the DateFormat object to stop trying to help you out, this should go some way toward getting you where you need to go. Check the API docs out for that.
    Good Luck
    Lee
    PS: don't mind esran, he's not the sharpest tool in the shed, and is likely still trying to figure out the mess he documented in this thread:
    http://forum.java.sun.com/thread.jsp?thread=519291&forum=31&message=2479820
    So, I suppose a little slack is warrented

  • How to validate a text item/display item in Oracle forms 9i?

    Hello Everyone,
    I have a form in which we have to type in a product_id as shown below in the screenshot. And when we type in, it has to get validated.
    If it is valid then ok, else display a message saying not valid.
    How do we achieve it on a text box/diaply item in the form shown below.
    Any kind of help would be really appreciated.
    Thanks in advance,
    Vishal

    Just create a when-validate-item trigger for that text item and write the code inside to validate it.
    Hope it helps.
    Navnit

  • How to validate a date in a validation script

    I have a date field for which I have set a validation pattern using its Object palette i.e. Object > Value tab > Validation Pattern > Validation tab. The validation pattern I have there is simply 'date{YYYY-MMM-DD}' with an error message set in the Validation Pattern Message box.
    How do I perform this same validation using a javascript in the Validation event?
    I'd like to use a script instead so that I can better control when this validation will be performed.
    Thanks!!
    Marc

    Marc:
    If your field has a display picture clause, then you can detect if it formatted correctly by looking at field.formattedValue
    Specifically, if the value cannot be formatted, the formattedValue will be the same as the rawValue (unformatted).
    So a validation script that specifies:
    this.formattedValue !== this.rawValue;
    should detect invalid dates.
    See: http://blogs.adobe.com/formfeed/2011/06/understanding-field-values.html
    good luck
      John

Maybe you are looking for

  • HT204291 Is it possibly to have iTunes music play out of both the computer and AppleTV while using Airplay Mirroring for the TV?

    Is it possibly to have iTunes music play out of both the computer and Apple TV while simultaneously using Airplay Mirroring to view the computer screen on the TV? Whenever I try, by clicking on 'computer' radial button for volume in iTunes Airplay, t

  • Song and Artist display differently in landscape mode (iPod on iPhone)

    I have a CD Compilation *50 Best Songs Ever*. When I play any song from this Compilation on my iPhone, if I turn the phone to landscape mode the Artist defaults back to the Artist on the 1st track, but if I turn the phone back to upright mode the Art

  • Physical files restoration

    Hello, Is it possible to setup a Test server par restoring (copying) the physical files from my production server? We are running Oracle 9i version2. In fact we have moved from one server to another , more powerful server. Now I would to make the old

  • Invocation Error

    When i invoke OutputClient.transformPDF()am getting the following error. My question here is about the cause of the exception. Is that JAR is missing at server side or client side. (If it is at client side, please let me know whats the JAR name. am g

  • Wrong Voltage for a GeForce 2 MX400

    I've an ASUS GeForce 2 MX400 with a MSI KT6-Delta LSR, and the utility software of my graphical card say me : " Your VGA card voltage 3.3 is out of safe bound. Motherboard doesn't supply with reliable 3.3 Voltage Please Contact with motherboard manuf