Validation problem in minor

Almost done with this project in Apex 4.0 (in IE8), but we have a page where specific users are allowed to edit entries on the item information. However, one of the fields must be a specific number of characters based on another field. I implemented the TRIM and UPPER functions already to deal with changed data and other validations in place, but I have a problem with that.

He must have LENGTH (P9_ITEMNUMBER) = 9 under the condition "element in the Expression 1 Expression 2 = value" (with P9_ITEMTYPE and 'DOCUMENT', for example) but I've tried several different validation types and I am still allowed to record incorrect data without receiving an error message like other Validations. I tried Regular Expression and Expression SQL, but I don't know if it's the correct posting type.

Also, what is the best way to check for a start or end of character in a Validation? For example, if ITEMCODE must end with a W or E (or be left blank).

Thank you all for your help, happy to be nearing completion on this project because of this!

CPate wrote:
Almost done with this project in Apex 4.0 (in IE8), but we have a page where specific users are allowed to edit entries on the item information. However, one of the fields must be a specific number of characters based on another field. I implemented the TRIM and UPPER functions already to deal with changed data and other validations in place, but I have a problem with that.

He must have LENGTH (P9_ITEMNUMBER) = 9 under the condition "element in the Expression 1 Expression 2 = value" (with P9_ITEMTYPE and 'DOCUMENT', for example) but I've tried several different validation types and I am still allowed to record incorrect data without receiving an error message like other Validations. I tried Regular Expression and Expression SQL, but I don't know if it's the correct posting type.

It is unclear what is the validation rule you are trying to implement?

'Value of element in the Expression 1 Expression 2 =' test for equality of the value of the item specified in the Expression with the value specified in the Expression 2:

Expression 1

P9_TX_CODE

Expression 2

CR

Assuming that the planned validation is this P9_ITEMNUMBER be 9 characters long (?), then use PL/SQL Expression:

Expression 1

length(:p9_itemnumber) = 9

(and the maximum length of the element the value 9)

Also, what is the best way to check for a start or end of character in a Validation?

Regular expression, using the * ^ * and * $* metacharacters to indicate the beginning and the end of the string.

For example, if ITEMCODE must end with a W or E (or be left blank).

In this case, it is PL/SQL Expression because it is a condition of compounds containing a RC:

   :itemcode is null
or regexp_like(:itemcode, '(W|E)$')

Tags: Database

Similar Questions

  • Insert a file .swf by Dreamweaver validation problem

    Insert a file .swf by Dreamweaver validation problem.  I tried this code for html5, but I can't make it work for firefox.

    < object data = "path_to_file/file.swf" type = "application/x-shockwave-flash" width = "insert_width_of_movie" height = "insert_height_of_movie" > "

    < param name = "movie" value = "path_to_file/file.swf" >

    < param name = "SomeOtherParam" value = "ParamValue" >

    < / object >

    Try:

    <>

    Type = "application/x-shockwave-flash" data = "images/homewebpageflash.swf"

    width = "500" height = "375" >

  • Unlocked IPhone, SIM card is not valid problem

    Hello

    I went to study in the United States for a few months and I bought the iPhone 6s 'apple Store' to the United States.

    After that I came back to Thailand, I can't use my card SIM Thai (AIS network). It appeared that the sim card is not valid.

    I had to call apple care to solve the problem for me and after gave them my IMEI, they told me to contact verizon wireless to unlock my phone.

    So far, I confused altogether since I bought the Apple Store iphone, not Verizon.

    However, I contacted verizon wireless and even once, after gave them my IMEI, they said that since

    the unit was purchased third-party (which is apple Store) so that the device has not been locked by their network.

    I tried to restore my device so many times and also with the mode of recovery, but it still can not use.

    I checked with APPLE and they said that my device is unlocked model.

    Note that first sim that I plug when I got this device is ATT SIM card.

    I was contacted to ATT and they also said that my device has not been locked

    through their network.

    Please give me suggestions on how to solve this problem

    It seems that if you have the iPhone version, intended for use on the Verizon network. If so, it is not locked. However, this does not mean that it will work on the network in your country.  Phones, designed to run on the Verizon network use strips of LTE 13, 4 and 2. It seems that the AIS uses 3 and 1.

    https://en.Wikipedia.org/wiki/List_of_LTE_networks

    https://en.Wikipedia.org/wiki/List_of_LTE_networks_in_Asia

  • Win XP Pro SP3 - Validation problem

    Under XP Pro SP3 (w/Media Player 10) for the last 3 years. Trying to register my new Garmin GPS, says I need Meda Player 11. Tried to install MP11, met validation error. A ran MGADiag, said the invalid product key. I was in a maze without end of the screen trying to figure out how to solve this problem, but struck out. Can someone help out me of this mess? Thank you.

    There is NO valid key on any Windows drive - with the exception of the right brand OEM disc for your machine.

    Another key found in or on a disk is invalid.

    Are only valid keys (with the exception of Volume license keys)...

    (1) on the COA sticker on the case of the machine

    (2) on the label inside the packaging in which detail records (full or upgrade) are provided.

  • Download Windows Media Player 11 validation problem?

    I am trying to download Windows Media Player 11 but when I try to go through the validation process it simply doesn't.

    When I try to hit 'continue' the page just refreshes and nothing else happens. Im not getting no message saying that the software is not genuine, literally refreshes the page and nothing else happens. Windows XP System I use is genuine. I can't do anything now or get the download!

    What's not? How to download Windows Media Player 11, if I can't go through the validation process?

    If you use Firefox as a browser, it barfs on the ActiveX required for validation: use either IE or Chrome.

    If this does not work,

    To analyze and solve problems for Activation and Validation, we need to see a full copy of the report produced by the MGADiag tool
    (download and save to the desktop - http://go.microsoft.com/fwlink/?linkid=52012 )
    Once saved, run the tool.
    Click on the button continue, which will produce the report.
    To copy the report in your response, click the button copy in the tool (ignore the error at this stage), and then paste (using r-click and paste or Ctrl + V) in your response.
    -* in your own thread *, please

    Please also state the Version and edition of Windows cited on your COA sticker (if you a) in the case of your machine (or inside the battery compartment), but does NOT quote the key on the sticker!
    http://www.Microsoft.com/en-us/howtotell/hardware.aspx

  • Windows Validation problem

    I turned on my computer today and a message popped up and said that my Windows is not past the validation. The computer is Dell and the sticker with the key is on the tower. How can I fix? It is a good copy and had no problems until that earlier.

    In this case, you have to reformat/reinstall using the Dell recovery disks (or the recovery partition, if it still exists on your PC).

    Make sure you that you back up your data first - the operation will delete everything on the drive!

  • validation problem Windows media with the validation site player

    Im having a problem with my windows media player 11 validation, ive done just a system restore, but I did this b4 and had not had this problem.when I push validate take me for this web site validate/ValidationResult.aspx? displaylang = in & cCode = NZL & Error = 10 & PageName = validate & Product = Wga nothing happens? Ive waited more than an hour 4 to load snack is one of those slow loading pages, but still nothing? Please help me solve this annoying problem. thnx :)

    Hi Traci,

    (1) how long have you been faced with this problem?

    (2) is this problem limited only to Windows Media Player (WMP)?

    Method 1: see the steps provided by Jeremy K who solves a similar problem on Windows Media Player 10

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-system/DCOM-congiguration-warning/403fb8c9-b55f-E011-8dfc-68b599b31bf5

    Method 2: Uninstall and reinstall WMP

    How to uninstall Windows Media Player 11 in Windows XP

    http://support.Microsoft.com/kb/934372

    Download WMP 11

    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=1d224714-e238-4E45-8668-5166114010ca

    On the problem of validation, you can also post your request here

    Windows XP Genuine Advantage Validation

    http://social.Microsoft.com/forums/en-us/genuinewindowsxp/threads

  • Windows 7: 0 x 80070005 validation problem.

    Hello

    I have a problem with the validation of Windows 7 problem, when I get my driver's license, has the error: 0x80070005.

    I'm administrator of the machine, but the error persists.

    I need help

    original title: erro na validacao

    Hello

     
    Thanks for posting your query in Microsoft Community.
     
    I understand that you have problems during the validation of the Windows 7 PC.
     
    First of all, I suggest you follow the below link to fix the problem.
     
    Windows 7 displays "Windows is not genuine" with a 0x80070005 error code
     
    Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you
    Change it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:
     
    If this does not help then, try to follow the suggestions mentioned by Martin on November 27, 2009.
     
    Additional information:
     
    How to troubleshoot Volume Activation error codes in Windows 7, Windows Server 2008 and in Windows Vista
     
    I hope this helps. Otherwise, feel free to write us again and we will be happy to help you.
     
    Thank you
  • Impossible pictures send normal gmail, messaging LR and with server validation problem coming out?

    Unable to send photos with gmail, the problem of validation of the LR email and outgoing server

    Could attach you a screenshot of the error you get?

    Also did you shoot 2 verification channels and make less secure applications.

  • Validation problem Spry with button "submit"

    Hello

    I'm new to Spry but I encounter a problem, do work at all.  I created a very simple form (table with text Spry field and submit button).  I have read many articles and visited several forums, but I can't seem to find the problem I encounter.  Basically, when I go to preview the page in a browser, the table with the field button and submit the spy text just fine, but when I hit the button send, I see the page refresh and the values that I had in the text box disappear, but nothing ever comes by saying "a value is required. which is what I'm looking for. This happens even if I have not all values in the text field.  Here are the images of what I describe and also the code.  I checked the 'Required' box is checked in the SpryTextField and the action of the submit button is selected for "Submit form."  My setup is Windows 7, DW6 & XAMPP.  You can provide any help would be greatly appreciated.

    Before pressing the button submit:

    Browser_before_submit.JPG

    Browser after pressing the button: (same as above but no message, 'a value is required.')

    Browser_after_submit.JPG

    Code:

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    < title > Untitled Document < /title >

    < script src = "SpryAssets/SpryValidationTextField.js" type = "text/javascript" > < / script > "

    < link href = "SpryAssets/SpryValidationTextField.css" rel = "stylesheet" type = "text/css" / > "

    < / head >

    < body >

    test

    < table width = "600" border = "1" >

    < b >

    < td > < form id = "form1" name = "form1" method = "post" action = "" >

    < span id = "sprytextfield1" >

    < label for = 'test' > < / label >

    < input type = "text" name = 'test' id = 'test' / >

    < span class = "textfieldRequiredMsg" > a value is required. </span > < span class = "textfieldInvalidFormatMsg" > Invalid format. </span > < / span >

    < / form > < table >

    < /tr >

    < b >

    < td > < table >

    < /tr >

    < b >

    < td > < table >

    < /tr >

    < b >

    < td > < table >

    < /tr >

    < b >

    < td > < form id = "form2" name = "form2" method = "post" action = "" >

    < input type = "submit" name = "submit" id = "submit" value = "Submit" / >

    < / form > < table >

    < /tr >

    < b >

    < td > < table >

    < /tr >

    < /table >

    < script type = "text/javascript" >

    var sprytextfield1 = new Spry.Widget.ValidationTextField ("sprytextfield1", "email");

    < /script >

    < / body >

    < / html >

    Do yourself a big favor and don't waste time with Spry Validation.  Most modern browsers support HTML5 forms with the required attribute.

    If you need calm older browsers, use jQuery script validate.  It is lightweight and works when the HTML5 support is missing.  You can see an example below. If you press on submit with empty form fields, required fields in pop - up with messages.  View source in the browser to see the code.

    HTML5 form with jQuery Validation

    Nancy O.

  • Entry onFocus, AdfCustomEvent and Validation problem

    Hello

    I have an entry and when the focus is on him I want to call a method of the bean. The problem is when I have an AdfCustomEvent in queue, validation of the seizure is performed. Validation returns an error, so the focus is lost and immediately reset upon entry. So I have a loop infinit.
    <af:resource type="javascript">
              function handleInputFocus(evt){
                var input = evt.getSource();
                var tooltip = input.getProperty("tooltip");
                var params = {'tooltip':tooltip};
                AdfCustomEvent.queue(input, "InputFocusEvent", params, true);
                evt.cancel();
              }
         </af:resource>
    How can I skip validation? I thought that if 'immediate' AdfCustomEvent.queue parameter was set to true, the validation could be ignored, but no.

    Hello

    Seems that I found the solution:
    AdfCustomEvent.queue (...,...,..., true) fires required indicator auto
    The trick is:

           // Note that render response avoids the model update
            FacesContext.getCurrentInstance().renderResponse();
    

    concerning
    Peter

  • Acrobat Pro XI - Activation/Validation problem

    Hello

    My company purchased 8 licenses in volume of a Distributor and I am trying to get a Code of my installed software application. I called before Adobe to verify the serial numbers are good (they are), but I can't get the software to generate the Code needed to ask.

    My systems are online (I have access to the Internet), but I suspect the problems of Proxy or Firewall prevent software well to reach out to the validation/verification servers because I get the message "Cannot connect to the Internet" when I go to register the software. I can go to Adobe.com in my network, but suspect that more deeply into the "rabbit hole" it's where the packets are blocked.

    Is it possible to get the software to generate the claim Code?

    V/r,

    Leroy

    OK, I managed to do work, but nothing above really helped. I had to work my system connection manually to activate my software (firewall changes still are being considered / evaluated).

    Level of Action:

    1 install the software, ADOBE ACROBAT PRO XI (you can install w / license info, but I chose not to do so).
    2 disconnect the computer from the network completely.

    3. launch Adobe Acrobat Pro XI.

    4. scroll the EULA and registration, enter the license. Enrollment fails, select "Try again later", then on the next pop-up window, select the options 'Enable offline' and don't forget to click on the link "having problems connecting to the Internet? This will allow you to generate application Code.

    5. once the claim Code is generated, re - connect the system to the network and continue with the rest of the validation.

    6. active software. Success!

  • panelAccordion and validation problem

    Hi all

    Well, I have a problem with validation.

    I have a panelAccordion with 2 showDetailItem... in each showDetailItem, I have a few inputText... some of this inputText are mandatory, and, if they are empty then displays an error message from component to me... it's ok.

    My problem is, that if an inputText is empty and with the present error message, I can't change to another technicality of my accordion... no idea how to solve this problem?

    Thank you very much

    Alberto Tapia
    Mexico City, D.F.

    Hello
    the immediate value = 'true' for the item in detail, he ignores all client-side validations

  • Form validation problem

    I cannot using the form validate of Dreamweaver and the Yaromat check form. Here's what's happening.

    With the form validation of Dreamweaver, I pointed out the form tag, go to the Insert menu and select validate the form. He brings to the top of the box, but there is no way to save the selections and options. If it is supposed to be a save button, it isn't here.

    When I try the Yaromat extension, when I go to save my selections, I get an error message that says:
    "This change should change the code which is locked by a model or a translator. The changes will be rejected. »

    I do not use a template, then nothing should be locked.

    Any ideas?

    Thank you
    Miriam

    I think I solved this problem. It seems that after the upgrade to version 8.0.2, on a page that will have a form that requires validation, you cannot use SSI calls (in php).

    So I replaced all SSI calls with the actual data, just for this page. The form then properly validated using the extension Yaromat check form.

    Built in form to validate Dreamweaver does not always show a way to save the settings, so I don't know if this would work also.

  • Outlook HTML and CSS Validator problem

    Hello

    I downloaded Outlook HTML and CSS Validator for DreamWeaver 8 (WordMailSupportMacromedia.msi) but when I followed the instructions and went to check the browser settings, "Microsoft Word" has not shown in the list of target browsers.

    Anyone know why, or have a fix?

    Thank you very much!

    Well, I got it. The default installation path was to be changed FROM:

    C:\Program Files\Macromedia\ \Configuration\BrowserProfiles\ Dreamweaver MX 2004

    TO

    C:\Program Files\Macromedia\ \Configuration\BrowserProfiles\ Dreamweaver 8

    for someone else who could meet this slight problem.

Maybe you are looking for

  • Scanning problem

    I recently bought a Macbook Pro 13 "retina. I have HP Laser Jet MFP M1005. He acknowledged for the first time when I connected my printer on my mac with USB cable & I am able to take fingerprints. It is scanning. The Mac does not have the ability to

  • How to install wireless on / to the deskjet 3050 a printer

    The configuration of the printer menu offers only two options... Press a butoon wps on the router or type in a PIN of the printer in the software of the router configuration. My Linksys router doesn't have a button to push for wps, and the configurat

  • Qosmio x 500-118 - the high temperature of the processor

    Very odd behavior that I found was that CPU temp reached 100 degrees Celsius and the fan speed remains at 81%. 81% is the fan speed when the CPU is at 80 degrees Celsius and 100 degrees, too. Is this normal?Finally, when the CPU reaches 100 degrees i

  • my computer is slow I tried everything and still has this problem, how can I fix this myself

    I made the mistake of downloading patch error reg but has always the problem I uninstalled it now when I cut my computer on I get a blue screen and then my normal screen on pop and play games on the internet, it stops and slow down is there a fix I c

  • Audio import is not with video related two files, but other work fine

    I registered a game using open source software of broadcaster and trying to change it for download on YouTube, but the audio of this game in particular will not import the video. I can see the raw images in a media player and hear the sound, but when