Change "isDate" field validation format?

The isDate field validation format in the Forms wizard shows an error when the date is not in the format DD-MON-YY format. I would like for it to check for the format MM/DD/YYYY and give an error message for this format, not the DD-MON-YY format. Any help would be appreciate.
--Jim Bladen                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Hi,
to attach the format depending on the country selection, I
think is a little more difficult to be done, is not enough only to
declare a new widget constructor in page and then to access it.
To have this behavior, is need to call addEventListener
function when the onchange event is triggered. It should be
something like this:
Spry.Widget.Utils.addEventListener('country_id', 'onchange',
function(e) {
// here you should get the selected country
// then you should destroy the initial validation object that
hadn't a format attached
//and finally you should declare a new validation object that
contains the format according the country you selected.
I didn't tested if the solution above works, but I think this
is the approach for getting the behavior you want.
Diana

Similar Messages

  • Pages is not saving document correctly.  After saving the changes either do not appear or you can not open the file. The error is "not a valid format"  I am in Pages '09 4.1 (923).  I also use Parallels.  Anyone having similar issues?

    Pages is not saving document correctly.  After saving the changes either do not appear or you can not open the file. The error is "not a valid format"  I am in Pages '09 4.1 (923).  I also use Parallels.  Anyone having similar issues?

    I'm not sure that Lion AutoSave feature apply to network servers.
    I'm just sure that the Versions feature doesn't.
    Yvan KOENIG (VALLAURIS, France) samedi 21 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k
    My iDisk is : http://public.me.com/koenigyvan

  • Validation Error in complaint search with changed on field.

    Hi all,
    I have added changed on field in complaint search screen of IC agent role, while searching for a complaint using changed on field, data as last month. We are getting an error message saying "Date M+-1 is invalid". Which I am suspecting as an validation error. Please also refer if any notes.
    FYR, Error is attached. Fast responses are highly appreciated.
    Thanks,
    Vivek.

    Hi Vivek,
      Your intention is need  to find the error validation?
      If that could be the case,then we can check from where that error message is coming!!
    1. Add a parameter in su3 BSPWD_USER_LEVEL and value is 8. If you go to web ui and place the cursor in error message, it will display the message class and message number.
    2. Then go to SE91 and put the class and number, check where used list. So that u can easily find the code logic beyond that field validation.
    Reply if u need more!!!
    Regards,
    Sugan.

  • Changing a fields type after validation

    I am having an issue with trying to figure out how to change a fields type (i.e. User Entered - Required) after I validate a test sheet that the user filled out. It is basically an interactive answer sheet that grades itself when the user is finished answering the questions, I just need to know how to make that field read-only after the user has finished the test. Any ideas on how to go about doing this?
    Thanks,
    Ryan Crocker

    No, it would be
    GradeTest.access = "open";
    You can see the Object Model reference guide at: http://www.adobe.com/devnet/livecycle/articles/Adobe_XML_Form_Object_Model_Reference.pdf
    Chris
    Adobe Enterprise Developer Support

  • Automatically change the field

    I have four fields in a form. I want that the focus move automatically to the next field when I insert 5 characters in the first field of the form. Is it possible?

    If you want to accept the last character and then jump to the next field before typing the next character, you need to add the current accepted keystroke.
    // document level script
    function goNext(oItem, oEvent, cName) {
    /* Tab to next field when field character limit is reached.
       Includes alpha fields and case change.
       Includes error trapping and displays on JavaScript console
       the error, field where error occurred and next field name.
       parameters:
       oItem  - required - item where fields  to process reside
       oEvent - required - field being processed
       cName  - required - next field's name
       Place call to this function in the fields custom format.
       The user responsible for checking format of field.
       Default number check is for the standard numeric values.
       "0-9" for single character fields and includes sign values for multi character fields.
       Call for number field:
       goNextAlpha(this, event,"NextField");
    try{ // error catcher
      AFNumber_Keystroke(0, 0, 0, 0, "",true); // or other keystroke validation;
      if (oEvent.rc && AFMergeChange(oEvent).length == oEvent.target.charLimit) oItem.getField(cName).setFocus();
      } catch(eMsg) { // trap error display error message, field in and next field
    app.beep(3); // beep
    } finally {  // always run
    return; }
    // Custom keystroke JavaScirpt
    goNext(this, event, "NameNextField");
    The line
      if (oEvent.rc && AFMergeChange(oEvent).length == oEvent.target.charLimit) oItem.getField(cName).setFocus();
    Takes into account the previously entered and the current keystrokes along with the keystroke format check.

  • Pages document "could not be read" bc. it "does not have a valid format"

    The document in question was properly saved and Pages was not open when my computer hung as it was shutting down. MS Word would not quit or force-quit and I had to hard restart the computer. When I later tried to open this Pages document, which I had been working on before Word froze, Page would not open it and responded with the error message: "This document "document_name.pages" could not be read. This document does not have a valid format." When I looked at the document in question I noticed that its file size was 0KB. I have no idea why this happened, but I suppose it has to do with my computer not shutting down properly and perhaps with Word freezing. If I repair my drive permission, re-index it, anything, will it help? Just a note on the status of this machine: spotlight stopped working earlier this morning and I was waiting to finish this document before repairing disk permissions and trying to fix that issue with Spotlight.
    In the meantime I have tried various fixes. First I tried to change the file ending to .zip, unpack it and open it. Then the same, but this time I tried to view package contents. It doesn't show up in the contextual menu as even having a package to show the contents of. The file is effectively empty, but I don't know where the contents went! The funny thing is that the MS Word doc was recovered automatically. Is it possible that Pages doesn't have an auto-recovery mechanism?
    I need this file urgently, or at least the text in it. It is the bibliography of an important paper due tomorrow at 5 pm.Any advice or suggestions would be greatly appreciated.
    BTW, I have used a file-recovery program in the past. It is called "Stellar Phoenix" and it worked wonderfully to find a Word doc that I accidentally deleted. It can't find .pages document though. In order to do so, I would need to tell the program what the average file size is, as well as the header information as follows. "Header (in hexadecimal)" "At Offset (in decimal)". I have no idea what this means, but if I could insert it, perhaps it could find the lost data. Should I have it search for .pages, .zip, .xml? I'm at a loss, but I know that it doesn't recognize .pages. In the meantime, I sent a support email to them and will see what happens.
    Thank you for your help.
    David

    I can't respond before.
    When the system say that your file size is 0KB, it means that nothing was saved. Only a file descripto exists.
    So, there is nothing to recover.
    Given the time the system crashed, you may have :
    (1) a simple descriptor with nothing written
    (2) a folder with every or only some of the required files.
    In this case, Phoenix is useless : it's unable to revive a folder.
    (3) a flatfile (a compressed version of the folder named above). It's only this kind of file which Phoenix may revive.
    With a bit of luck, Phoenix would be able to revive the index.xml file which was in the original folder created in the temporary folder.
    This file starts with :
    <?xml version="1.0"?><sl:document xmlns:sfa="http://developer.apple.com/namespaces/sfa"
    or
    <?xml version="1.0"?>
    <sl:document xmlns:sfa="http://developer.apple.com/namespaces/sfa"
    The minimal size for a Pages index.xml file is : 520038 bytes.
    If you retrieve the index.xml file, we may try to rebuild an usable package.
    Ask the recovery tool to transfer the recovered file on an other media.
    If the document embedded pictures, the index will give their path and their size which may be useful to recover them.
    Yvan KOENIG (VALLAURIS, France) lundi 1 novembre 2010 10:27:44

  • How to import and make the content of the original PDF document editable and preserves the pdf appearance and retains existing fields and formatting in LiveCycle

    Can someone tell me how I can see my content (artwork and text) after I import  it into LiveCycle Designer ES4?  I like to import and make the content of the original PDF document editable; preserves the pdf appearance and retains existing fields and formatting, then allow me to do the modifications and save it back into the original PDF document with changes. I have tried everything but still cannot see my content(artwork and Text) of my original PDF after importing it into LiveCycle. All I see are is a blank page with the formatting and layout of where my artwork and text should be. I like to see everything if possible so after I make my change I will know how it will look when I save it back into the PDF and open it in Acrobat Reader.

    Can someone tell me how I can see my content (artwork and text) after I import  it into LiveCycle Designer ES4?  I like to import and make the content of the original PDF document editable; preserves the pdf appearance and retains existing fields and formatting, then allow me to do the modifications and save it back into the original PDF document with changes. I have tried everything but still cannot see my content(artwork and Text) of my original PDF after importing it into LiveCycle. All I see are is a blank page with the formatting and layout of where my artwork and text should be. I like to see everything if possible so after I make my change I will know how it will look when I save it back into the PDF and open it in Acrobat Reader.

  • I created a pdf form from a Word doc with 9 pt aerial font formatting; the text on the pdf form is aerial 9 pt, but the fields are formatted in courier 12 pt - How do I reformat the font in the fields??

    I created a pdf form from a Word doc with 9 pt aerial font formatting; the text on the pdf form is aerial 9 pt, but the fields are formatted in courier 12 pt - How do I reformat the font in the fields??

    You can set up a temporary button (or link, bookmark, etc.) and add the following JavaScript action:
    // Mouse Up script for a temporary button (or bookmark, etc.)
    // Change the font and font size for all text fields in this document
    for (var i = 0; i < numFields; i += 1) {
        var f = getField(getNthFieldName(i));
        if (f.type === "text") {
            f.textFont = font.Helv;
            f.textSize = 9;
    It also sets the font size, but you can remove that line if you don't need to do that.

  • Field Validation on Custom Obj. 4:  Value of one field making other Req.

    Hello All,
    I have been working on a field validation problem for a while. I have a custom Picklist on CO4. This picklist has two values YES and NO (a checkbox does not meet requirements). What I need to do is If Picklist='YES' then FieldA, FieldB, and FieldC are Required else they are not required. FieldA = Text (short), FieldB = Date, and FieldC = Currency. I've tried numerous ways to validate on Fields A, B, and C with statements like IIf(Picklist=LookupValue(Picklist,"YES"),FieldA<>NULL,FieldA) or IIf(FieldValue(Picklist)="YES",FieldA<>NULL,FieldA) etc... these were just my latest attempts at this point I'm jsut trying random things to try to get it working. I am probably using incorrect syntax (even though it passes the sytax checker). If anyone has any suggestion let me know. Also if I haven't made clear what it is I'm attempting to do let me know and I'll try to clarify.
    Thanks,
    Z

    Hi,
    if I understand correctly, you want this functionality:
    If Picklist = NO => it doesn't matter what values are contained in Field A, B and C.
    If Picklist = YES => Field A is not null and Field B is not null and Field C is not null
    To trigger the validation when the picklist value changes then you have to configure the Field Validation for the Picklist:
    [<Picklist>]=LookupValue("Picklist","NO") OR ( Len([<Field_A>])>0 AND Len([<Field_B>])>0 AND Len([<Field_C>])>0 )
    You have to put the validation also on Field_A and Field_B and Field_C, because in case of an update of , let's say, Field_B, you should prevent that Field_B is blanked.
    If someone updates only Field_B and he doesn't change the value of the Picklist, the validation expression put on the Picklist is not evaluated.
    Simona

  • How to change the automatic character format in Message Editor?

    Hi experts,
    We use PI 7.31, AAE adapter in our scenario. When we use the message monitor in Adapter Engine, we choose one message and open it in Message editor, we can see the message payload with AUTO Character Format: Windows-1252.
    The problem is we have some CN characters and they cannot display in correct formats.
    So, is there any way to change the AUTO Character format?
    The other question is, can we see the message after mapping in java message monitor?
    Thanks.
    Kevin

    Hi,
    The Quantity field which is used in sales order has a standard Data Type:QUAN
    with Decimal Places:3 so u cant change the settings in standard data element CRMT_SCHEDLIN_QUAN
    If u want the quantity field without decimals then u need to create a Z data element.
    Regards,
    PePe

  • Change time from number format(ie. 3.50 hours) to regular time format( ie.3:30)

    How do you Change time from number format(ie. 3.50 hours) to regular time format( ie.3:30)

    I performed the following function in order to get my report to view the information the way that I wanted to see it:
    put this formula across from the caption âu20ACu0153Display Stringâu20AC within the âu20ACu0153Format Fieldâu20AC window for description.Â
    whileprintingrecords;
    MonthName(tonumber(Mid({CartonHistory.DateTimeStamp},5,2)),true) & Mid({CartonHistory.DateTimeStamp},7,2) & ", " & Mid({CartonHistory.DateTimeStamp},1,4)Â & " " & Mid({CartonHistory.DateTimeStamp},9,2) & ":" & Mid({CartonHistory.DateTimeStamp},11,2) & "." & Mid({CartonHistory.DateTimeStamp},13,2)
    It converts dates from: 20061212102311xx to: Dec12, 2006 10:23.11.

  • How to set Character field's Format Mask?

    dear all,
    how to set Character field's Format Mask?
    i searched the forum and found the following, where can i use this code and how to change and set its format mask.
    SRW.SET_FORMAT_MASK('mask');
    Thanks
    Muhammad Nadeem

    Nadeem,
    If you have database 10g, look into function REGEXP_REPLACE. Otherwise you can also try this (you might already know).
    SELECT SUBSTR('CHHOCMIPO07020001', 1,2)||'-'||SUBSTR('CHHOCMIPO07020001' ,3,2)||'-'||
    SUBSTR('CHHOCMIPO07020001' , 5,2)||'-'||SUBSTR('CHHOCMIPO07020001' , 7,3)||'-'||
    SUBSTR('CHHOCMIPO07020001' , 10,2)||'-'||SUBSTR('CHHOCMIPO07020001' , 12,2)||'-'||
    SUBSTR('CHHOCMIPO07020001' , 14,4)
    FROM dual
    CH-HO-CM-IPO-07-02-0001
    If you have to use this at many places, create a function, pass the raw value, manipulate the string and return.
    FS

  • Change Cost center valid date

    Hi, Export,
         Can we change the cost center valid date from 2007.10.01 to 2007.08.01? If it can change, Pls tell me how to change it.Thanks.
    best regards
    Park Han

    Well, it's a little late to reply to the original question, but I found this thread while trying to figure out how to do the same thing myself and thought I would update it with the answer in case anyone else stumbles across this thread while searching as I did.
    You can actually make a change in the valid from date by using a KS01 Create Cost Center transaction and referencing the original cost center to create the additional period you want to add. 
    In this case in KS01 you would fill out the fields in this manner:
    Cost Center: Existing Cost Center to be changed, let's say 1000
    Valid From 2007.08.01
    Valid to: 2007.09.30
    Reference Cost Center: 1000
    Controlling Area: Whatever the controlling area is
    In effect, rather than changing the cost center, you are creating the extra time period from the new from date to the original from date and referencing it to the cost center.
    The end result for us was that KS03 shows the cost center with the new from date and the old to date, which was the change we wanted.
    Not quite as obvious as a change, but it worked for us.

  • Change Cost Center Valid To Date

    Hi,
    I want to change cost center valid To date. Please let me know which t code I use for that. Thanks in advance.
    Thanks & Regards,
    Hemant Maurya

    Hi,
    You can change cost cener validity by creating new cost center through t.code KS01 with reference to same cost center.
    Ex. suppose you have created cost center 5009000000 from 01.07.2005 to 30.06.2006. Now you want the same cost center to be created from 01.07.2006 to 31.12.2009.
    So, Go to KS01 and put this CC code and Valid From to To Date as 01.07.2006 to 31.12.2009. Also put same CC code with CO area in reference. The same CC will be created with all required information. Also If profit center is required field in your CC, then first of all you need to extend your profit center through KE52 t.code.
    Pls get back for further query.
    Thanks & Regards,
    Taral Patel

  • "tagged file is not of valid format"

    I'm getting a weird error starting up JDEV 3.1.681 ( waiting for 3.2! ):
    "Tagged file is not of valid format"
    and my Workspace is brought up... but the PROJECT has been disassociated! I re-include the Project and things seem to be OK... then a couple of days later, I get the same problem.
    Any permanent fix? ( while keeping JDev? )

    Hi,
    Big projects have sort of been a problem in the past, but it's always difficult to reproduce and track down the source of the problem. Doesn't help that the error doesn't mention which file is the problem.
    In general, we advise people to put their Business Components in one project, and their client code in a separate project. This is mostly for deployment purposes, so it's easier to encapsulate the business logic or server tier code from the client side code.
    I know that the DAC wizard allows you to create it all in one project, which was put in there for backwards compatibility with JDev 2.0 when BC4J was hidden in the same project. Under the covers as it were.
    This may or may not be the cause of the problems you're seeing. It might be worthwhile to create a new project in your workspace, remove all your client files for the application from the original project, and add them to the second project. I think you'll have a tougher time moving the BC4J objects, so I would leave those and just move the application files (panels, dialogs, etc.).
    After you do that, make sure that the new project has the correct libraries in it. By default, it will just have jdev-runtime, connectionmanager, and Oracle 8.1.6 JDBC, I think. You'll probably need to add the Infobus libraries, JBO runtime, and any others used by your first project. Once you have the library list correct for the client project, you can clean out the library list for the BC4J project so it's only what BC4J needs.
    By the way, you mention you have a lot of entity objects for LOVs. If you're just doing lookups, you don't need the entity object. You can create a view object based strictly on a query against the database. IT eliminates some overhead. On the other hand, if you have a lot of them, it might be a real pain to change them all.
    Sorry not to be able to provide a more definitive answer on the errors and the access violations.

Maybe you are looking for

  • Moving my music from an Ipod to an Iphone

    I originally had an iPod and I have all my music in there (it was not purchased from itunes but synced from different cd's) Later I bought the iphone 4S and I have not been able to move my music to the iphone. When I sync it it only syncs the apps no

  • Badlooking fonts in pdf viewers

    For some reason fonts in pdf documents are badly rendered, they're really uncomfortable to look at. I'm using okular with ghostscript engine. I don't have that problem anywhere else, so I believe it's ghostscript related. Didn't have that problem in

  • Flatten transparency

    Hi everyone, I have a diagram created in Illustrator CS5. It has transparency applied so that new colors are created where shapes intersect. I need to place this diagram into Indesign but I'd like the transparency to be flattened, ie. so that I'm sti

  • Editing sidebar in Finder

    I need to delete some titles in the left hand sidebar in finder

  • Creating users in a zone

    I have a zone created for FTP users I am trying to create home directories for individual users. I am using useradd command and /home/user-name as the home directory but there is no direcotry being created. The zone is created on a Veritas Volume. Wh