Form validation to check the areas

Hello - is there a way to check (and reject) certain fields in a form input?  We have an internal newsletter we want to allow employees to participate in, but do not want to use personal emails (gmail, hotmail, etc.).  Is this possible?

Hi Eric,.

Two options:

1 if you want just user to be alerted or encourage notification of error such as field validation, you can take a list of e-mail field externsions, put it in a table in a function javascript/Jquery and not allow those for the presentation. This can lower your form submission, in which case the user is not able to submit the form with the public/staff email addresses. In this case...

2. you can choose the stage of processing "Update contact data of the form" in forms, make conditional, and in the condition you can choose the field domain email address and not exactly as criteria, choose the static value and enter the condition that e-mail domain (hotmail.com, yahoo.com, etc.) for each e-mail domain. See the image below:

I hope this helps.

Thank you

Amit Pandya

Tags: Marketers

Similar Questions

  • DRM validation to check the existence of nodes in a different hierarchy as a property value

    Hello gurus,

    I have two hierarchies, named A and B respectively. I need to create a validation for nodes in A hierarchy that checks the value of a property such that the node must have the property value equal to any node name in the hierarchy B.

    Means that the values for this particular property for the nodes in A hierarchy must exist as a node in the hierarchy B.

    It would be very grateful if someone can give an idea to achieve this.

    Hello

    Try this in a type formula validation-

    NodeInHier (PropValue (Custom.PropName), B)

    This returns false if the value of the property is not a node in the hierarchy B and True if it's.

    So, you will get a validation message whenever the property is loaded with a value that is not a node in the hierarchy of B.

    Thanks, let me know

    Denzz

  • Validation to check the length of point

    Greetings,

    I have a column that is defined with a length of 240 in the table, and I want to give a validation error if the user types more than 240 in the corresponding point on the Apex page. I have this code in my validation routine and it is listed as PL/SQL:
    TO_NUMBER (LENGTH (:P10_ACTIVITY_COMMENT)) < 241

    When I save a record with a comment more than 240 the validation error, but an Oracle error also shows at the top of the page:
    "Invalid PL/SQL expression condition: ORA-06502: PL/SQL: digital error or value: character conversion number expression invalid PL/SQL condition error: ORA-06502: PL/SQL: digital error or value: character of number conversion error."

    I changed the code in several different ways, but they all give the Oracle error.

    How should I code it?

    Thank you, Tony

    Tony - my mistake. When I saw my answer here, I saw the double quotes. However, they are good apostrophes, so this isn't the problem. The next thing to do is to run the page in debug mode and look at the HTML code in the browser. You should see something like this:

    Scott

  • Form validation helps with the regular Expression [a-zA-Z]

    I'm trying to use the regular expression [a-zA-Z] to allow only upper or lowercase WITHOUT SPACES. With the help of [a-zA-Z] allows space and numbers.

    Could someone give me a point in the right direction?

    Thank you!

    RGNelson wrote:

    I'm trying to use the regular expression [a-zA-Z] to allow only upper or lowercase WITHOUT SPACES. With the help of [a-zA-Z] allows space and numbers.

    Could someone give me a point in the right direction?

    Please try with the following regular expression, which should work for text entry fields 'a line' well standard.

    ^ [A-Za-z] + $

    See you soon,.

    Günter

  • DOCTYPE tag above CF form validation javascript

    Hello

    CF 8 looks back the form validation javascript at the top of the page, even before the HTML tag and the tag DOCTYPE validation.  This causes problems with my style sheet.  Do you know any way I can (at least), put my above the javscript DOCTYPE tag that renders the CF?

    Thank you

    David

    <script type="text/javascript" src="/CFIDE/scripts/cfform.js"></script>
    <script type="text/javascript" src="/CFIDE/scripts/masks.js"></script>

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

    Include the tag head, to make ColdFusion to place script tags. Something like that

    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.DTD">
    http://www.w3.org/1999/xhtml">
    test page




  • My Apple Macbook late 2009 has been upgraded to 4 GB and Mountain Lion but runs very slowly. When I check the memory system activity monitor, I see that there are 1.6 GB inactive. Is this the cause of the slowness and what I can do?

    My Apple Macbook late 2009 has been upgraded to 4 GB and Mountain Lion but runs very slowly. When I check the memory system activity monitor, I see that there are 1.6 GB inactive. Is this the cause of the slowness and what I can do?

    Reinstall OS X from scratch and add more RAM.

    Ways to help make a slow Mac faster

    17 reasons why your Mac runs slower than expected

    Slow performance of Mac? This Article addresses!

    Difficulty of slow start in OS X | MacFixIt - CNET Reviews

    6 easy tips to speed up OS X Yosemite on your Mac.

    Avoid using third-party software that claims to clean your computer. This software does more harm than good. In addition, you don't need it. Note that all computers become slower over time even in the normal conditions of use. Generally, the experienced users erasing the hard drive and do a clean install from scratch at least once a year or every time that the installation of a major upgrade of the OS. Well sure doing so also means that you need to maintain regular and several backups.

    Add more RAM or reduce the number of simultaneously executed from applications and utilities. Remove unnecessary software such as anti-malware and that promises to clean your Mac. Look for the runaway process: Runaway applications can shorten the battery life, affect performance and increase the heat and fan acti... See also:

    Before Mavericks

    Open the activity monitor in the Utilities folder.  Select all processes in the drop process .  Click the % CPU column heading twice to display in descending order.  If find you a process that uses a large amount of time processor (> = 70,) then select the process, and then click the quit icon in the toolbar.  Click the force quit button to kill the process.  See if that helps.  Don't forget to mention the name of the runaway process, so you can find the cause of the problem.

    Mavericks and later versions

    Open the activity monitor in the Utilities folder.  Select all processes in the menu display .  Click the CPU tab in the toolbar. Click the % CPU column heading twice to display in descending order.  If you find a process that uses a large amount of CPU %, then select the process, then click on the quit icon in the toolbar.  Click the force quit button to kill the process.  See if that helps.  Don't forget to mention the name of the runaway process, so you can find the cause of the problem.

    Things you can do to solve the slow Downs

    If your computer seems to run slower, here are some things you can do:

    Start with tours: OS X maintenance - MacAttorney;

    The X Lab: the X-frequently asked questions.

    " Safe mac" Mac Performance Guide;

    " Safe mac" the myth of the dirty Mac;

    Maintenance fast Mac Help.

    Start in Safe Mode , and then repair your hard disk and permissions:

    Fix the hard disk and permissions before Lion

    Boot from your OS X install disk. After the installer loads, choose your language and click on the button continue. When the menu bar appears select utility drive in the Utilities menu. After that the charges of THE select your entry from hard drive (mfgr. ID and car size) in the list on the left.  In the status area, you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is faulty or has failed. (State SMART is not reported on external drives Firewire or USB). If the drive is "verified", then select your OS X volume in the list on the left (subentries under the entry for the road), click the first aid tab, then click the repair disk button. If THE reports any errors that have been corrected, and then run repair disk again until no errors are reported. If no errors are reported, click repair permissions. Wait until the operation is complete, then exit FROM and return to the installer.

    Repair the hard drive - Lion-Lion/mountain/Mavericks

    HD recovery start:

    Restart the computer and after the buzzer, press on and hold down the COMMAND and R until it appears the screen of Menu utilities. Otherwise, restart the computer and after the buzzer, press on and hold down the OPTION key until the Boot Manager screen. Select recovery HD disk icon and click on the button below.

    When the recovery menu appears, select disk utility. After that the charges of THE select your entry from hard drive (mfgr. ID and car size) in the list on the left.  In the status area, you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is faulty or has failed. (State SMART is not reported on external drives Firewire or USB). If the drive is "verified", then select your OS X volume in the list on the left (subentries under the entry for the road), click the first aid tab, then click the repair disk button. If THE reports any errors that have been corrected, and then run repair disk again until no errors are reported. If no error is not reported, then click repair permissions. Wait until the operation is complete, then exit FROM and return to the main menu. Select restart from the Apple menu.

    Restart your computer normally and see if it helped at all. Then do little maintenance:

    For disk utility can't handle situations, the best third party is Disk Warriorutility;  Fixed DW only for problems with the disk directory, but most disk problems are caused by the corruption of directory; Warrior drive 4.x is now compatible with Intel Mac.

    Note: Alsoft ships DW on a bootable DVD that will boot Mac running Snow Leopard or earlier. He cannot start Mac that came with Lion or later preinstalled, however, DW will work on these models.

    Suggestions for OS X maintenance

    OS X performs certain maintenance functions that are supposed to take place on a daily, weekly, or monthly period. Maintenance scripts that are run at the beginning AM only if the computer is turned on 24/7 (no sleep). If this isn't the case, then a great solution is to download and install a shareware like Macaroni, JAW PseudoAnacronor Anacron utility that will automate the maintenance regardless of whether activity if the computer is off or asleep.  Dependence on third-party utilities to run periodic maintenance scripts has been significantly reduced since Tiger.  These utilities have little or no functionality with Snow Leopard or later version, and must not be installed.

    OS X automatically defrags files smaller than 20 MB in size, so unless you have a disk full of very large files it little need to defragment the hard drive.

    Under no circumstances should you install operating MacPaw or ZeoBit software (CleanMyMac/CleanMyDrive or Mac Keeper, respectively.) You don't need special software to keep your computer.

    Useful links about malware Protection

    "If you have an immediate problem with ads popping up see the Mac without danger" Adware removal Guide and AdwareMedic.

    Open Safari, select Preferences from the Safari menu. Click the Extensions icon in the toolbar. Disable all Extensions. If it stops your problem, then re-enable one by one until the problem returns. Now remove this extension as it is the origin of the problem.

    The following comes from user stevejobsfan0123. I made minor changes to adapt to this presentation.

    Difficulty a few pop ups browser that supported Safari

    Common pop - ups include a message saying that the Government has taken over your computer and you pay release (often called "Moneypak"), or a false message saying that your computer has been infected and you need to call a number of tech support (sometimes claiming to be Apple) to get it to be resolved. First of all, understand that these pop-ups are not caused by a virus and that your computer has not been assigned. This "hack" is limited to your web browser. Also understand that these messages are scams, so don't pay not money, call number, or provide personal information. This article will give an overview of the solution to remove the pop-up window.

    Quit Safari

    Usually, these pop-ups will not go by clicking 'OK' or 'Cancel '. In addition, several menus in the menu bar may become disabled and show in grey, including the option to leave Safari. You'll probably force quit Safari. To do this, press command + option + ESC, select Safari, press on force quit.

    Relaunch Safari

    If you restart Safari, the page will reopen. To avoid this, hold the "Shift" key when opening Safari. This will prevent windows since the last time that Safari was running since the reopening.

    It will not work in all cases. The SHIFT key must be maintained at the right time, and in some cases, even if done correctly, the window is displayed again. In these circumstances, after force quit Safari, turn off Wi - Fi or disconnect Ethernet, depending on how you connect to the Internet. Then restart Safari normally. He'll try to reload the malicious Web page, but without a connection, it will not be able to. Leave this page by entering a different URL, i.e. www.apple.com and try to load it. Now you can reconnect to the Internet and the page that you entered is displayed rather than the malicious.

    An excellent link to read is Tom Reed Mac Guide of malicious programs.

    Also, visit the FAQ XLab and read of detection and avoid malicious software and spyware.

    Check out these articles from Apple:

    Mac OS X Snow Leopard and malware detection

    OS X Lion-Protect your Mac against malicious software

    OS X Lion mountain - protect your Mac against malicious software

    OS X Mavericks-Protect your Mac against malicious software

    On the quarantine of file under OS X

    If you need antivirus protection Thomas Reed recommends to use ClamXAV. (Thanks to Thomas Reed to this recommendation.)

    The user Joe Bailey comes this equally useful advice:

    The facts are:

    1. There is no anti-malware software can detect 100% of malware out there.

    2. There is no anti-malware that can detect all targeting the Mac.

    3. the best way to prevent breaches the most is for you as the user is aware that

    the most successful malware attacks rely on sophisticated social engineering

    techniques preying on human greed, * and fear.

    4 Internet pop-up windows telling the FBI, NSA, Microsoft, your ISP has detected malware on

    your computer is designed to trick you into installing their malware thinking it's a

    protection against malware.

    5. some of the anti-malware market products are worse than malware

    go where they are supposed to protect you.

    6. be careful where you go on the internet.

    7. don't download anything from sites, you know are safe.

    8 avoid links that you receive in email, always be wary, even if you get something

    you think a friend is, but that you did not expect.

    9. If there is any question in your mind, then assume that it is malware.

    Troubleshooting Applications

    I recommend that you download a utility such as TinkerTool System, OnyX, Mavericks Cache Cleaneror hiding a Cocktail that you can use to delete the former newspapers and archives, cleaning, etc. Corrupted cache, logs or temporary files can slow down the application or OS X crashes and panics of the kernel.

    If you have leopard snow or leopard, then for similar repairs install Applejackfreeware utility.  If you do not start in OS X, you can boot into single-user mode , where you can run Applejack to make a set of routines for repair and maintenance of the command line.  Note that it takes 1.5 AppleJack for Leopard. AppleJack 1.6 is compatible with Snow Leopard. Applejack does not work with Lion and later versions.

    Basic backup

    For some people, Time Machine will be more than enough. Time Machine is part of Mac OS X. There are two components:

    1. a panel of Time Machine preferences as part of the system of preferences;

    2. a request for Time Machine, located in the Applications folder. It's

    used to manage backups and restore backups. Time Machine

    requires a backup drive that is at least twice the capacity of the

    drive being backed up.

    You can also get an external drive at least equal to the size hard disk internal and make (and maintain) a bootable clone/backup. You can make a bootable clone using the disk utility's restore option. You can also create and maintain clones with good backup software. My personal recommendations are (the order is not significant):

    1 Carbon Copy clone

    2. get backup

    3 already seen

    4 superDuper!

    5. Synk Pro

    6. Tri-Backup

    Visit The FAQ XLab and read the FAQ on the backup and restore.  Also read How to back up and restore your files. For using Time Machine, visit FAQ Time Machine of Pondini for help with all this time Machine.

    Referenced software can be found at MacUpdate .

    Additional tips

    Make sure you have a sufficient amount of RAM installed for the number of applications you run simultaneously. Make sure to leave a minimum of 10% of the capacity of the hard disk as free space.

    Add more RAM. If your computer less than 2 GB of RAM and you use OS X Leopard or later, then you can do it with more RAM. Snow Leopard and Lion works much better with 4 GB of RAM that is their system. Most concurrent applications, that you tend to use the more RAM you should have.

    Always have at least 15 GB, or 10% of the capacity of your hard disk as free space, the largest. OS X frequently accesses your hard disk, so offering enough free space will keep things slow down.

    Check for applications that may be hogging the CPU:

    Before Mavericks

    Open the activity monitor in the Utilities folder.  Select all processes in the drop process .  Click the % CPU column heading twice to display in descending order.  If find you a process that uses a large amount of time processor (> = 70,) then select the process, and then click the quit icon in the toolbar.  Click the force quit button to kill the process.  See if that helps.  Don't forget to mention the name of the runaway process, so you can find the cause of the problem.

    Mavericks and later versions

    Open the activity monitor in the Utilities folder.  Select all processes in the menu display .  Click the CPU tab in the toolbar. Click the % CPU column heading twice to display in descending order.  If find you a process that uses a large amount of time processor (> = 70,) then select the process, and then click the quit icon in the toolbar.  Click the force quit button to kill the process.  See if that helps.  Don't forget to mention the name of the runaway process, so you can find the cause of the problem.

    This problem occurs often because of a corrupted cache or the preferences file or an attempt to write in a corrupted log file.

  • check the installation of directx valid message on Skype

    original title: directx

    I have a problem that I try to make a video call on Skype, I get message 'check the valid installation of directx' how check it out or fix it?

    Hi John,.

    (1) if it works well before?

    (2) remember to make changes?

    (3) what version of Windows you are running on the computer?

    It is sufficient to indicate the complete error message you receive.

    You can follow the steps given by Azeez N and D of Diana in the links below that addresses this issue

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-hardware/cant-start-video-renderer-check-you ' ve-got-a-valid/3cb8e374-8cea-4722-b094-9bfcfd11bca6

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-hardware/how-to-check-if-you-have-a-valid-DirectX/1282d473-99f7-49f0-9f86-54227a2dbfea

    If the problem persists, please contact Skype more specialized.
    http://www.Skype.com/intl/en-us/support/user-guides/

  • What tool can be used to check the validity of the drivers

    original title: drivers

    does anyone know of a utility driver... free preferbly :)... outside the windows update that checks the validity of the drivers with a repair with a single click to delete / update etc... Thank you

    Hello

    To add the good advice of T.G.:

    Automatic driver update programs often fail, and when this happens, the results can be a nuisance
    to a disaster. Manual update of the pilots is my preferred method.

    Maybe need of these:

    This utility, it is easy see which versions are loaded: (this is not an automatic update of the driver
    It just allows you to easily see information on the drivers of program.)

    -Free - DriverView utility displays the list of all device drivers currently loaded on your system. For
    each driver in the list, additional useful information is displayed: load address of the driver, description,.
    version, product name, company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - Device Manager - Display Adapter - note the brand and complete model of your
    video card - double - tab of the driver - write version information. Now click on UPdate Driver (this
    cannot do anything as MS is far behind the certification of drivers) - then do a right click - Uninstall - REBOOT
    This will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party with their
    own the software and drivers and all other main drivers that you have.

    Now go to the site of the manufacturer of system (Dell, HP, Toshiba as examples) (restoration) and then of the manufacturer of the device
    (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for the BIOS, Chipset and software)
    updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AS ADMIN - REBOOT after each installation.

    Always check in the Device Manager - tab drivers version you install actually shows up. This
    because some restore drivers before the most recent is installed (particularly that audio drivers) so install a
    pilot - reboot - check that it is installed and repeat if necessary.

    Repeat to the manufacturers - BTW on device at the DO NOT RUN THEIR SCANNER - manually check by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    If you update the drivers manually, then it's a good idea to disable the facilities of driver in the Windows updates,
    This leaves ONE of Windows updates, but it will not install the drivers who are generally older and cause
    questions. If updates offers a new driver and then hide it (right click on it) and then go look for new ones
    manually if you wish.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    Hope these helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • Faced with the form validation

    I tried a few days get my code works but I'm not entirely understand error messages.

    I want to do what follows but can't make it work:

    1. validate the fields defined and checkboxes

    2. Enter personalized messages to find errors in a table

    3 display an alert detailing any errors

    If the fields contain data and the checkboxes checked;

    4. save the form in a temporary folder with the name of requisition -' + this.getField("workOrderNumber") //(which contains a javascript script autonumbering)

    5. If all required is supplied attach the form to an email as provided for in the background code

    Event.RC = true;

    msgArray = new Array (errorMsg [0], errorMsg [1], errorMsg [2], errorMsg [3], errorMsg [4] errorMsg [5], errorMsg [6], errorMsg [7]);

    If (this.getField("workOrderNumber").value = "")

    {

    errorMsg [0] = ' you can not pass without an application number, please click in the field to the right top of the page to generate a number. "

    }

    ElseIf (this.getField("DelAddressRow1").value = "");

    {

    errorMsg [1] = 'Please enter the full delivery address;

    }

    ElseIf (this.getField("DeliveryContactName").value = "");

    {

    errorMsg [2] = "Please enter the contact of delivery."

    }

    ElseIf (this.getField("SupplierNameRow1").value = "");

    {

    errorMsg [3] = "Please enter the full name of the proposed supplier."

    }

    ElseIf (this.getField("SupplierAddressRow1").value = "");

    {

    errorMsg [4] = 'Please enter the street number, name and type. "

    }

    ElseIf (this.getField("SupplierAddressRow2").value = "");

    {

    errorMsg [5] = 'Please enter the suburb, State, and postal code. "

    }

    ElseIf (this.getField("SupplierContactName").value = "");

    {

    errorMsg [6] = 'Please enter the name of the supplier contact. "

    }

    ElseIf (this.getField("SupplierContactTelephone").value = "");

    {

    errorMsg [7] = "Please enter the phone number of suppliers."

    }

    else if (msgArray! == "");

    {

    var msgArray = 'there were some mandatory fields, you need to complete...\n ";

    for (var i = 0; i < errorMsg; i ++) {}

    numError = i + 1;

    MSG += "\n" + numError + "". "" + errorMsg [i];

    }

    Alert (MSG);

    }

    on the other

    {

    var cToAddr = [email protected];

    var cReqNum = this.getField("workOrderNumber").value;

    var cSubLine = "request:"+ this.getField("workOrderNumber").value; "

    var cbody = "thank you for submitting your form. \n' + 'save the attachment of the completed form for your records.

    Send the PDF as an attachment to an e-mail

    this.mailDoc ({bUI: true, cTo: cToAddr, bassujetti: cSubLine, CMSG: cbody});

    }

    OK, that makes more sense. The piece of information you miss, it's that the default value of a checkbox when it is not checked (a group or, if none are selected) is 'Off '. Another thing that you're doing wrong is your stop"" command. There is no such thing in JS. If you want to stop a bidding process then it should be part of the script. You can't stop a command to "Submit a form" (not directly, at least, you can stop it by clearing a required field).

    If your code should be something like this:

    if (this.getField("WO").value=="Off") {
        app.alert("Please check a checkbox");
    } else {
        this.mailDoc({cTo: "[email protected]"}); // replace with actual email address
    }
    
  • Checking the referential integrity of a form before the presentation of the Page element

    Hi, OTN,.

    I have a form on a table with multiple columns, some of which are foreign keys to other tables. Rather than validate the columns for referential integrity when the user inserts/changes in shape, I would use a dynamic action to attract the attention of the user with a javascript alert() when the user loses focus of the element. After a user enters a value into the text box and moves to the next item, I want to be able to query the table, check the existence of the value of the user and issue a javascript alert() if there is no match.

    What is the best way to go about this?

    I created a dynamic action-to run PL/SQL code on one of the elements of the page, with a code similar to the following:

    DECLARE
    rf_check varchar2 (30);
    BEGIN
    SELECT col1 INTO table_a FROM rf_check
    WHERE col1 =: P1_ITEM_FK;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    HTP.p ("< script type =" text/javascript"> ');
    HTP.p ("alert ("ERROR");");
    HTP.p ("< /script >" ");
    END;

    I could not get the dynamic action of delivering javascript. Any thoughts?

    Thank you

    Matthew Moisen

    Published by: Matthew Moisen on 25 October 2012 14:22

    Matthew Moisen wrote:
    What is the best way to go about this?

    I have to admit that I've never tried, but I would be surprised if Javascript back via statements made htp.p that they are actually executed by the browser.

    I would do something like that, by a dynamic action that calls an application process. The PL/SQL procedure request would return via htp.p OK or ERROR. From this result, the javascript would determine to issue the alert. Something like the following (not fully tested):

    Javascipt
    
     var get = new htmldb_Get(null,html_GetElement('pFlowId').value, 'APPLICATION_PROCESS=FK_CHECK',0);
     var fk_check = get.get();
    
     if (fk_check=='ERROR')
      {
       alert('ERROR');
      }
    
    Application Process FK_CHECK
    
    DECLARE
      rf_check varchar2(30);
    BEGIN
      SELECT col1 INTO rf_check FROM table_a
      WHERE col1 = :P1_ITEM_FK;
      HTP.p('OK');
    EXCEPTION
      WHEN NO_DATA_FOUND THEN
         HTP.p('ERROR');
    END;
    
  • How to use JavaScript to limit the number of boxes to check the user can select a PDF form?

    How to use JavaScript to limit the number of boxes to check the user can select a PDF form?

    Here's the working solution

    Please rename all the boxes like chkBox0, chkBox1... .chkBox30 (must start with 0)

    Value of exports of each checkbox must be "Yes" (default value is Yes)

    Place this Code at the level of the Javascript Document

    -Code JavaScript document-

    var counter = 0;                Checked the meter

    -Count boxes checked again when the document is closed and reopened.

    for (var i = 0; i)<= 30;="">

    If (getField("chkBox"_+_i).value == 'Yes') {}

    Counter += 1;

    }

    }

    -The function of validation-

    function validateCheckBox(name,value) {}

    If (value == 'Yes' & meter)<>

    Counter += 1;

    } else if (value == 'Off') {}

    counter = 1;

    } else {}

    getField ("name") .value = "Off";

    App.Alert ("you can select only four checkboxes");

    }

    }

    -End of Document Javascript-

    Now put this line in the MouseUp event all checkboxes

    Box - Code MouseUp event.

    validateCheckBox (event.target.name, event.target.value);

    //----------------------------------------------------------------------------------

    Hope this will help

    Kind regards

    Post edited by: Mohammad Irfan

  • Form when he passes the validation errors validatator show:

    For some reason any in this form when he submits successfully (pass validation) the mistakes of validatator show:

    <? XML version = "1.0" encoding = "utf-8"? >

    " < = xmlns:fx s:Panel ' http://ns.Adobe.com/MXML/2009 "

    xmlns:s = "library://ns.adobe.com/flex/spark".

    xmlns:MX = "library://ns.adobe.com/flex/mx".

    xmlns:layouts = "" views.layouts. * ""

    creationComplete = "creationCompleteHandler (event)" "

    skinClass = "views.skins.BlueTopPanelSkinWithBlueRedGradient" title = "Log in" xmlns:parsley =" " http://www.Spicefactory.org/parsley "> "

    < s:layout >

    < s:VerticalLayout horizontalAlign = "center" verticalAlign = "middle" / >

    < / s:layout >

    < fx:Script >

    <! [CDATA]

    Import model.vo.AuthenticateUserParams;

    Import model.vo.WindowsActiveDirectoryUser;

    Import mx.collections.ArrayCollection;

    Import mx.controls.Alert;

    Import mx.events.FlexEvent;

    Import parsleyMessages.UserLoginRequest;

    [MessageDispatcher]

    [Bindable]

    public var Dispatcher: function;

    protected var validator: Array;

    protected function creationCompleteHandler(event:FlexEvent):void

    {

    validators = [usernameValidator, passwordValidator];

    }

    protected function login_clickHandler(event:MouseEvent):void

    {

    If (Validator.validateAll (validators) .length > 0)

    return;

    var params: AuthenticateUserParams = new AuthenticateUserParams();

    params. Domain = domain.selectedItem;

    params. Password = password.text;

    params. UserName = username.text;

    Dispatcher (new UserLoginRequest (params));

    clearFields();

    }

    public function clearFields (): void

    {

    username. Text = ";

    Password.Text = ";

    domain.selectedIndex = 0;

    }

    []] >

    < / fx:Script >

    < fx:Declarations >

    < mx:Validator id = "usernameValidator" property = "text" required = "true" source = "{username}" / >

    < mx:Validator id = "passwordValidator" property = "text" required = "true" source = "{password}" / >

    < parsley: Configure / >

    < / fx:Declarations >

    < s:Form >

    < s:FormItem label = "enter user name" color = "#000000" >

    < s:TextInput id = "Username" = '761' x y = "357" width = "131" text = "kisn" / >

    < / s:FormItem >

    < s:FormItem label = "Enter password" >

    < s:TextInput id = "password" x = "825" y = "142.25" width = "132" displayAsPassword = "true".

    Text = "555" / >

    < / s:FormItem >

    < s:FormItem label = "log on" >

    < s:DropDownList id = "domain" x = "825" y = "172.25" width = "132".

    dataProvider = "{new collection ArrayCollection (['HO', 'mM'])}.

    selectedIndex = "0" >

    < / s:DropDownList >

    < / s:FormItem >

    < s:FormItem width = "100%" >

    < s:Button id = "login" x = "115" width = "125" height = "31" label = "Login".

    Click = "login_clickHandler (Event)" cornerRadius = "10" fontSize = "16" "

    fontWeight = "bold" >

    < / s:Button >

    < / s:FormItem >

    < / s:Form >

    < / s:Panel >

    I think I see your problem. Except if you their so-called to do otherwise, mx:Validators will validate automatically each time that the "trigger" was even sent to the target component, this source is linked to. Since you do not specify a triggerEvent validators are tuned to the default event (i.e. for a TextInput "valueCommit" If memories are good) and validate this field whenever this event occurs. In your case, I think the culprit is this call to 'clearFields() '. This method is changing the text in the fields and causing thus the validation runs again on the now empty TextInputs (and therefore invalid).

    The easiest solution if you want to only be triggered manually your validation must set the property to "triggerEvent' of your validators to an empty string. Stop them from trigger automatically when the text is changed.

  • How can I use SQL to check the Version of Oracle Forms and object of the request?

    Hi all:

    How can I use SQL to check the Version of Oracle Forms and object of the request?





    Concerning
    Terry

    Terry,

    See the following threads/docs for the version of forms.

    How to find the developer version
    Re: How to find the developer version

    Note: 466890.1 - Script to find the Apache, Java, Jinitiator, version of forms and details of the JVM for Oracle E-Business Suite 11i
    Note: 392793.1 - how to get Forms Oracle Oracle Applications 11i Command Line Version
    Note: 468311.1 - Script to find the Apache, Java, JRE, Forms for Oracle E-Business Suite R12 version

    What purpose are you talking?

    Thank you
    Hussein

  • I am (early 2013) iMac 21.5 inch 8 GB which is sutting down then restart unexpectedly often more than once a day. I ran the diagnostics of material, check the permissions and disk. All are no problem. Any suggestions?

    I have an iMac (early 2013 21.5 inch 8 GB) which stops and then restarts unexpectedly often more than once a day. I ran the diagnostics of material, check the permissions and disk. All are no problem. Any suggestions? I bought this machine this June last at B & H in New York.

    Please post a report of EtreCheckof your system. We then look for obvious problems. Please click on the link, download the application and run the report. Once you have the report, please copy and paste into your response to this post.

    If you would like more information on what is EtreCheck, just click on the link and you will find a description of the application.

  • I have a strange problem with my RAM supported by installers. When I check the activity monitor, 3 installers are open and they start around 80 MB memory RAM used for about 7 or 10:08 minutes or so.

    I have a strange problem with my RAM supported by installers. When I check the activity monitor, 3 installers are open and they start around 80 MB memory RAM used for about 7 or 8 concerts after 10 minutes. I have to force them to quit, but I don't know what I am closing or why they open in the first place. Applications downloaded on iTunes?

    In addition, the Console has opened with the same message several times, but I don't know what that means.

    Any help would be appreciated.

    Hello

    The last is a picture of the Terminal window.

    Just because it lists 'Console' does not mean that it has nothing to do with this application.

    You have not said why or what you're trying to install so I can't help with that.

    You can use the activity monitor to leave their.

    After you select an item, use the X in a type of stop sign icon and confirm force quit.

    21:36 Thursday; September 15, 2016

     iMac 2.5 Ghz i5 2011 (El Capitan)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro (Snow Leopard 10.6.8) 2 GB
     Mac OS X (10.6.8).
     iPhone and iPad (2)

Maybe you are looking for

  • GarageBand will not play Mid-note

    During playback, when I jump the playhead in the distance in the single set song Garageband (version 10.1.0, on a Macbook Pro Retina early 2015) will be a recently struck note after all what I am in the middle of. Which means long synth keys don't pl

  • Underflow memory device Embedded PXI-4461

    I use a PXI-4461 to generate one acquire a singal. When I generate the signal I get error-200621 (onboard device memory overflow) onDAQmx VI stop. I do not understand what means error. Signal information Signal type = sine waveFrequency = 3K amplitud

  • Error at startup, msvcr70dll is not found

    When I start my computer, I get a message msvcr70dll not found, please re - install program. I don't know what it is.

  • Data Execution Prevention (DEP)

    I try to install a program (software bug) with a download on the internet which is used and installed it with this link by a lot of people and I think that comes from a reliable source. But when I try to load it, I get a message from the Data Executi

  • What is the difference between PCM1000 and PCM1000-EU?

    Can someone tell what is the difference between these two cards: http://www.Amazon.com/Linksys-Cisco-1000-CardBus-mobile-PCM1000/DP/B0007SLHXY/ref=sr_1_1?ie=UTF8&s=e... http://www.Amazon.com/Linksys-Gigabit-Notebook-Adapter-PCM1000/DP/B000A7IDWA/ref=