Regular expression as part of the page

Hello

I m doing a page using regular Expressions validation step, but my regular Expression is dynamic. I have another page element called VL_REGEXP where I put a value to the regular expression.

But when I write VL_REGEXP as a validation expression, he doesn´t the test condition. It tests only when I put the value of the regular expression.

So, what I would do to this dynamic Regular Expression for validation?

Example of my settings:

-Doesn´t work

Type of validation:

Point / 1 expression column matches a regular Expression in the Expression 2

Expression 1

P12_CD_ACCOUNT

Expression 2

P12_VL_REGEXP -that's what I need!

-It works

Type of validation:

Point / 1 expression column matches a regular Expression in the Expression 2

Expression 1

P12_CD_ACCOUNT


Expression 2

^ (\d\d\.\d\d\d\.\d)+$

Thank you

Bsalvador

Don't know if the required substitution treatment is supported in the validation expression, but if it is you need to reference the page element using the syntax of static text substitution:

Type of validation:

Point / 1 expression column matches a regular Expression in the Expression 2

Expression 1

P12_CD_ACCOUNT

Expression 2

& P12_VL_REGEXP.

Tags: Database

Similar Questions

  • Cursor jumps to another part of the page or the screen when you type

    Hello

    When you type on the keyboard of my laptop cursor will go to a random part of the page or the screen and keep tapping on what I already typed.

    I had this problem with a Dell Inspiron, and they provided a patch with has been for the Bios or the touchpad.

    Is this a common fault with the Toshiba. I've seen some messages referring to disable the touchpad. However I don't think that this is a solution to the problem and Toshiba should provide a fix.

    Does not at any time have my finger on the touchpad while I was seized.

    Hope that answers.

    Huw.

    Hello

    As Christopher said use FN + F9 key combination to disable the touchpad. If the problem persists you should contact the Service partner. I'm sure they have more experience with it.

    I use two models of laptops different and same happen to me. Not often, but sometimes.

  • Printer prints only 3/4, last part of the page is faded.

    Whenever I have the impression that part of the page prints part background fades.

    Hello

    ·          What version of the operating system is running on your computer?

    ·          What is the number and model of the printer?

    ·          When the issue started?

    ·          It is not very good in the preview before printing?

    ·          Does the problem appear when you print a test page?

    The likely cause is a colour cartridge that is low on ink or is very old.  The color cartridge replacement should solve the problem.

  • How can I make my view on my screen the entire page instead of just a part of the page

    How can I make my view on my screen the entire page instead of just a part of the page

    Hello

    This Microsoft Information should help you with your problem:

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-screen-resolution

    See you soon.

  • some parts of the page is missing

    OfficeJet 7310, Windows 7 64

    Just noticed a few days ago that my printer is not printing parts of the page.  The colors are very well and very good print photos.  The missing lines or parts of a line would be black or color and are missing.  Drivers and software are up-to-date and nothing of fact to make it.  Makes no sense but what is happening.  Any ideas?

    It turns out that the problem isn't with the Chrome browser.  Have referred the matter to them.  Thank you.  I'm glad that the problem isn't my printer.  Impossible to find one that prints as well.

  • When clicked on a menu item is still done scroll to this part of the page but not properly noted in the menu more

    Today I opened my site in Muse to do some small updates and my head was completely broken, I have a header menu that uses the anchor points, and when clicked on a menu item is still made this part of the page-scroll but not correctly highlights the menu more.

    I also had a slideshow put in place to change each px 1100 scrolls, but who has stopped working completely.

    How did this happen without changing me anything? or I could go back to an old backup?

    It turns out all I had to do was reboot all and everything was fine, the program must just acted buggy

  • Some parts of the page is cut when it goes to the next page.

    This page is the page that converted to PDF after submit button click on it
    According to the amount of text, put user in the form of entry
    < cfinclude template = "attributeinclude.cfm" >
    < cfinclude template = "attributeinclude2.cfm" >
    < cfinclude template = "attributeinclude3.cfm" >
    and
    the text box checked stretch to 2-3 pages pdf or limited to only the first page.

    The content of
    < cfinclude template = "content1.cfm" >
    < cfinclude template = "content2.cfm" >
    < cfinclude template = "content3.cfm" >
    < cfinclude template = "content4.cfm" >
    are sometimes cut in half
    My goal is to be together the < cfinclude template = "content1.cfm" > 2 and 3
    not forever Breal? If it remains on the first page, then it would be in the lower part of the page.
    If she goes to the second page, then it does not break. It also should go either on the home page if it is the only or the lower part of the page as well
    Thank you

    Don't know what I'm talking about yet, but help?
    Do I put this code and where?
    Here is the code

    Thank you

    A few notes:

    -Place the lines of code out of the cfdocument tag cfparam.

    -remove the link cfdocument tag. The link tag can only appear in the head section of the page.

    -remove the cfoutput tag. There is apparently no need;

    -remove the long comment lines . If you need break the document into sections, use the cfdocumentsection tag. A previous thread contains an example of the use of section tags and cfdocumentitem and cfdocumentsection feed page.

    said: You should consider installing Coldfusion MX 7 patches if you have not already done. One patch is for cfdocument text cut problems.

  • When you download a page on my website, part of the Page does not download?

    I'm downloading Microsoft FrontPage 2002 to my website through Register.com. The page downloads correctly except it leaves a part of the text. Completely, it load properly if I use Internet Explorer or Google Chrome. I love Firefox because it loads fast.

    You see the text if you use "Edition > select all" or press Ctrl + A to highlight the selected text on this page?

    If this is the case, then you have a problem with the color of the transparent value text and you can fix that by setting a specific color, or that removing color rule.

    TABLE { color: transparent; } -> TABLE { color: black; }
    
  • Only part of the page copy

    Officejet 7500 has aid he will copy only about a quarter of the page.  If you check the preview it is all there, but even after that, it does print the page.  I have been scanning documents, save, then print and it's OK--a pain with multiple scans!  This only seems to happen when copying.

    I tried to re-boot PC and also completely unplug the printer, but nothing seems to work.  Occasionally, it copies 1 page, then back to only a part.  Sometimes she pushes through a blank page, then only prints one page of components.

    There are a lot of black ink, and the colors are about a quarter full.

    REALLY appreciate a solution to this.

    Thank you

    Hello

    From the Control Panel, click on the icon to copy, then click on the settings button.

    Check that resize defined as actual size.

    Also make sure that the paper size is set correctly.

    Locate all as new values by default, click Yes to confirm and try to copy again, you see no difference?

    If this is not the case, click on the configuration icon and select Tools, then select restore default settings, which should restore all copy the settings to their default values.

    Be aware that it can restore additional parameters, such as the fax settings to automatically answer after 5 rings, if you use the fax, please let me know your requirements (e.g. fax uses the same line as your phone, you have an answering machine or voice or no e-mail service, according to the present I will provide the steps to reconfigure the device properly to these requirements).

    Shlomi

  • regular expression: an integer in the range 0.100

    What is the best regular expression to satisfy the need:
    (1) input string must be whole, the minimum value is 0, the maximum value is 100, no other symbols are allowed in the channel, no comma without a space.

    The example data:
    with T as 
    (select '-1' str from dual --not ok
    union
    select '0' str from dual --ok
    union
    select '1' str from dual --ok
    union
    select '100' str from dua --ok
    union
    select '1000' str from dual-- --not ok
    union
    select '101' str from dual --not ok
    union
    select '10.1' str from dual --not ok
    union
    select '10,1' str from dual --not ok
    union
    select 'a' str from dual --not ok)
    select * from T
    where regexp_like(str,'^[[:digit:]]{0,3}$');

    Hello

    I think you hit the key to this solution; using regular expressions, it is better to make a special case of '100'.

    You accept the numbers 1 and 2 digits that begin with '0'. would be unwise to accept 3 digit like '007' numbers, too?
    Here's a regex solution that makes and also an inelegant way to achieve the same results without regular expressions:

    SELECT     ROWNUM
    ,     str
    ,     CASE
              WHEN  REGEXP_LIKE ( str
                          , '^'          || -- Beginning of string
                            '('          || -- number, which is either
                              '(100)'     || --     100
                            '|'          || -- or
                              '(0?'     || --     optional leading 0
                              '\d{1,2})'|| --     2 digits
                            ')'          || -- end number
                            '$'             -- End of string
                          )
              THEN  'Okay'
         END     AS regexp
    ,     CASE
              WHEN  LENGTH (str)     <= 3
              AND   TRANSLATE ( str
                        , 'X0123456789'
                        , 'X'
                        )     IS NULL
              AND   LPAD ( str
                      , 3
                      , '0'
                      )          <= '100'
              THEN  'Okay'
         END     AS non_regexp
    FROM     t
    ;
    

    Output:

        ROWNUM STR  REGE NON_
    ---------- ---- ---- ----
             1 -1
             2 0    Okay Okay
             3 007  Okay Okay
             4 08   Okay Okay
             5 1    Okay Okay
             6 10.1
             7 100  Okay Okay
             8 1000
             9 101
            10 999
            11 a
            12
    

    I added these lines to the sample data:

    union
    select null str from dual
    union
    select '007' str from dual
    union
    select '08' str from dual
    
  • When I try to print a page, I get the entire page of very low, either I get only part of the page. Which setting I'm missing?

    I am trying to print a page of a web page. If I check, 'reduced to fit' print / page setup, I get the whole page but small enough to be useless. If I uncheck 'reduced to adjust', I get only about 1/3 of the page. I tried the % function, and it only changes the size of the narrow portion I see already. How to print the whole page in a reasonable size?

    If Firefox does not use the entire sheet of paper, it can result from Firefox after having extracted the Windows incorrect paper size settings when reading data from the print driver. Compensation it may involve conclusions some mask parameters, but here goes:

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the search above the list box, type or paste print and make a pause so that the list is filtered

    (3) for each parameter which specifically mentions the problem printer, right click and reset The fastest way is to click with the mouse and press the r key on the keyboard with your other hand.

    Note: In a few discussions involving Brother printers, printer_printer_name.print_paper_data preference was established in 256 and when the user changed it to 1 which, in itself, solve the paper size. If you are using a Brother printer and see a 256 here, you can change the value by double-clicking it or by using the right click > modify.

    Any improvement?

  • line spacing wrong in the part of the page

    In the right pane of Google News, leading is too narrow so that the text is vertically overlapping. The rest of the page is OK. IE nor Chrome cause this, so there must be an incompatibility with Firefox and Google News.
    I tried all kinds of size of police and expansion; sone of them makes all the difference.

    Reset the modified default settings and instead, use one of these extensions.

    This works much better and makes the issues as we see much less likely to occur.

    You can use the NoSquint extension to define the font size (zoom text/page) and colors of text on web pages.

    Another extension just set default zoom:

  • Element of the page to the other part of the page

    Hello

    How is it possible to use the p20_Item_iD example to automatically populate the p20_item_id1 on the same page? p20_Item_iD is already complete when the page is loaded.

    So that the user must fill in fewer fields.

    I hope it is clear what I mean.

    Concerning

    ELCO

    I've already found the solution

  • link to other parts of the page

    How can I associate text higher in the page to something that is located near the bottom of the page

    1 give the item you want to link to an id html highlighting and adding a unique name (no spaces or special characters) in the area of identification in the property inspector. Make sure that you do not accidentally select the global container that contains all the items you want to link to, defining this way anchor links will take you to the top of the selected item.

    2. highlight the point/text you want to use as the link and put this id, preceded by the symbol #, in the property inspector link box.

    That should do it.

  • How to redirect a part of the page?

    I have a main line of screen contains a link. When I click on this link, I need display the corresponding article in the page. Results page contains numerous blocks for different articles. I want to show the corresponding section for which the user has clicked.

    For example, the results page contains following sections on the page.
    (1) contact information
    (2) educational details
    (3) contact information

    When the user clicks on the Details Update education form the home page link, the system must redirect the result with 2 page) educational Details as a highlighted section.

    It's like bookmarking page.

    How is it possible to redirect to a specific section of the result page in the ADF?

    Help, please.

    Published by: yannick October 13, 2011 09:27

    Yannick,

    If I understand you correctly, what you're talking about is an anchor.

    You create anchor points on the page where you want to scroll through the options (not redirect to). For example, in your scenario, you would have 3 anchors (personal, educational, contact). You create an anchor point by inserting an af:goLink with the 'id' property specified as the name of the link. For example:

    
    

    Then you would have a 'Personal data updated' link that are mentioned as destination anchor name:

    
    

    John

Maybe you are looking for