How to validate the field when i am populating the data cursor to block

Hi,
I am populating data cursor to multi record block.
Block contain 5 items. I am populating data cursor to block for 4 items. User will enter one item value that is quantity field.
If user enter negative values and decimal points in quantity filed i need to display message to user item level.
Please do the needful how to do it.

902434 wrote:
Hi,
I am populating data cursor to multi record block.
Block contain 5 items. I am populating data cursor to block for 4 items. User will enter one item value that is quantity field.
If user enter negative values and decimal points in quantity filed i need to display message to user item level.
Please do the needful how to do it.If you want to validate at entry level then use When-Validate-Item trigger and check the input and show message. Like
If :quentity <0 then
message('do not enter negative value');
message('do not enter negative value');
raise form_trigger_failure;
end if;Why u open same thread again ? not closing one.. check this one
</a>
How to validate the field when i am populating the data cursor to block
Hopes this helps
If someone's response is helpful or correct, please mark it accordingly.

Similar Messages

  • How to validate input fields as the user is filling up a form with jQuery?

    Hello EA friends.
    Someone has experimented on how to validate input fields as the user is filling up a form with jQuery?, if the field is numeric and insert an A for example, an alert appears showing "insert a number" or not allowed to enter anything until a number is entered.
    Thanks and regards.
    Fer

    Hi Sudeshna.
    Sorry for not responding on time, how can I be included in this code?
    sym.setVariable("typeActivity", "input")
    var Element_1=document.createElement(typeActivity);
    $(Element_1).css({"text-align": "center"});
    //Answer
    sym.setVariable("Answer_1", "4");
    sym.$("box_1").append(Element_1)
    This code is on my creationComplete and it works fine.
    Would greatly appreciate your help.
    Regards.
    Fer García

  • How do you change the fields that are displayed on the email preview list after a search?

    How do you modify the fields that are displayed in the mail preview list in the center column of Mac mail after you conduct a search of your email?   All of a sudden the displayed fields changed on me whenever I do a search in mail.   When I have not filtered my email with a search, the default field shown in bold at the top of each message's preview is the "From" field.   However, when I do a search this changes to the "To" field.   Can anyone help?   Thanks, ccarey

    ipicus
    But why would you want this?
    iTunes is responsible for the File Management, let it get on with it, you do your organisation in the iTunes window. And everything you need to do, you can do via the iTunes Window. Want to find the file of a track quickly? Right click on it in the iTunes Window and select Show File: A finder window pops open with the file already selected.
    Regards
    TD

  • How to validate multiple lines which is exist in the form builder at the same session

    Hi All,
    we are working on oracle Forms personalization to trigger the message at the point of saving multiple lines rather than requiring each line to be save individually. Currently the oracle form is allowing to user to enter two distinct lines that have same resource and basis type in BOM.
    Currently the Oracle form is allowing to enter the duplicate combination and not giving any error message even we enter the same combination of data.
    As per the customer requirement, they don’t want to validate the data while creating the records but when they try to save the form, in that case it should validate all the records at a time then need to display the appropriate message.
    Customer don’t want to customize the Oracle standard form. Here we have only option to use form personalization or through custom.pll.
    Any idea on how to validate multiple lines which is exist in the form builder at the same session as before inserting the record itself need to perform the validations for all the records.
    Thanks for your help in this regard.
    Regards,
    Thirupathi

    you can write a post script which will do the necessary tasks.
    I mean, once you are done with inserting records into these tables, exeute another procedure which will insert these "extra" records, based on some logic.
    you may not be able use DB trigger as it may generate mutating error or if you don't write it carefully, it will go into recursive loops as you are refering to same tables.
    HTH

  • Need help in LiveCycle Forms - Highlighting required fields when the check box is checked / Un-highlighting the fields if I un-check the check box...

    Hello All!
    I am relatively new to creating forms within LiveCycle but I have learned quickly so bare with me on my question.
    I have figured out how to highlight a field when a check box is clicked on, however, I cannot get it to remove the highlight when the check box is unchecked?
    This is what I used for the highlight:
    Subform1.fieldname.fillColor="255,255,0"
    Can anyone provide any insight or suggestions on how I might fix this script issue?
    Thanks in advance!
    -Lisa

    Hi,
    Script migth be something like this. Put it on Change event of the check box
    if (this.rawValue == 1) { Subform1.fieldname.fillColor="255,255,0"
    xfa.layout.relayout();
    else 
    { Subform1.fieldname.fillColor="255,0,0"
    xfa.layout.relayout();
    BR,
    Paul Butenko

  • How to validate ch field in selection screen

    hi experts.......
    how to validate ch field selection screen......... and which function module is used to validate parameter field i.e character

    Hello,
                Is your requirement to Validate the Character Field? This is what I understand. If it is right, then do you want to Validate whether a Character Value is entered?
                Check the below Sample Code.
    At Selection-Screen on P_CHARFIELD.
        IF P_CHARFIELD CA '1234567890'.
            Message 'Enter an Alpha Character only' Type 'E'.
        Endif.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • Hello. Today, I was updating my iPod Touch 4th Generation to iOS 6. I unplugged the iPod when it was during the installation because it appeared to be frozen. Now the iPod is stuck at a light blue screen even after I reset it. How do I fix it?

    Hello. Today, I was updating my iPod Touch 4th Generation to iOS 6. I unplugged the iPod when it was during the installation because it appeared to be frozen. Now the iPod is stuck at a light blue screen even after I reset it. How do I fix it?

    You will need to do a DFU restore by holding the home and power buttons down (while the device is plugged in to your computer) until the device's screen goes black and as soon as the screen goes black, count down from 3 and release the power/sleep button, but keep holding down the home button. Then, iTunes will say the iPod needs to be restored. The restore process will take some time and even though the iPod may appear to be frozen, don't interrupt the restore.

  • How to clear the fields within copy routines in the copy contorl

    HI Gurus,
    I need to clear  the fields VBP-VBELV and VBAP-PSSNV within the copy routines 303 in the copy control between quote item and sales order item. I am not sure how to do that... Can some body please help.
    This is required because we had sales order and quote using the same requirement type which controls the special stock indicator. This leads to the stock getting update in quotation instead of the sales order, because the quotation is initiating document (collecting all cost etc).Now i know requirement should only be passed to production from sales order and not from quotation so i changed the config but there are some existing documents using same requirement type on both quotation and sales order and to correct those i need to clear fields VBP-VBELV and VBAP-PSSNV within the copy routines 303.
    Please help!
    Regards,
    Sam

    Hi ,
    just use this code in ur save button action handler , this will clear the field after entered in to the database and will ready for the next set of data.
    String password=wdContext.currentContextElement().getpwd();
    try{
         InitialContext ctx=new InitialContext();
         DataSource ds=(DataSource)ctx.lookup("jdbc/SAPJ2EDB");
         Connection con=ds.getConnection();
         con.setAutoCommit(false);
         Statement stmt=con.createStatement();
         int retIns = stmt.executeUpdate("insert into TMP_NEWUSERDETAIL(PASSWORD) values("password")");
         con.commit();
         con.setAutoCommit(true);
         wdContext.currentContextElement().setpwd(null);
    or use a seperate button to clear the field.
    wdContext.currentContextElement().set<Attributename>(null);
    Regards
    Vijayakhanna Raman

  • I have installed Elements 13 on my Mac but can't see how to open it. When I click on the disk icon it takes me to an information page that gives no information about opening Elements 13.

    I have installed Elements 13 on my Mac but can't see how to open it. When I click on the disk icon on the desktop it takes me to an information page that gives no information about opening Elements 13. How do I open the software so that it can be used?

    Unfortunately, when I open applications, adobe photoshop elements 13 folder does not appear in the adobe folder. It appears as a disk on the desktop, only.

  • Why do I get and how do I correct the message _ This video is only available in the US - when I am in the US - I am trying to view Downton Abbey on my Ipad using the PBS app.?

    why do I get and how do I correct the message _ This video is only available in the US - when I am in the US - I am trying to view Downton Abbey on my Ipad using the PBS ipad app.? Thanks for your help

    Privacy is an Option in the Settings App, its not in Safari as that applies only to Safaris browsing.  Its called Privacy in  IOS 6  In previous versions the same thing can be found under Location Services.

  • How do you fix the ipod when its not playing the music right when it makes noise

    How do you fix the ipod when its not playing the music right when it makes noise

    Hi Nicole,
    Try resetting it (nothing will be lost): Hold down the Home and Power buttons at the same time and continue to hold them down until the Silver Apple appears (up to 30 seconds). The Home screen should redisplay after the reset is complete.
    Cheers,
    GB

  • Does anyone know how to load ACR presets when using ACR in the creative cloud?

    Does anyone know how to load ACR presets when using ACR in the creative cloud?

    Moving the discussion to Adobe Camera Raw forum.
    Thanks,
    Atul Saini

  • How to get the IP of the client when TCP connect in the server

    How to get the IP of the client when TCP connect in the server.
    The only parameter got from the connection is connectionID.
    Solved!
    Go to Solution.

    I guess you're using "TCP Wait on Listener" on the server. This returns the remote address and port (as optional outputs).

  • How can I save the images and movies on a  external Disk from iphoto program, to protect the images when problems occur in the laptop,

    How can I save the images and movies on a  external Disk from iphoto program, to protect the images when problems occur in the laptop,

    Most Simple Back Up:
    Drag the iPhoto Library from your Pictures Folder to another Disk. This will make a copy on that disk.
    Slightly more complex: Use an app that will do incremental back ups. This is a very good way to work. The first time you run the back up the app will make a complete copy of the Library. Thereafter it will update the back up with the changes you have made. That makes subsequent back ups much faster. Many of these apps also have scheduling capabilities: So set it up and it will do the back up automatically.
    Example of such apps: Chronosync - but there are many others. Search on MacUpdate or the App Store
    If you want to back up the Photos only:
    Export them using the File -> Export command.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.

  • HT1267 I have the serial number of iPhone, how do I then get the IMEI when I've lost the phone!?

    I have the serial number of iPhone, how do I then get the IMEI when I've lost the phone?!
    I have spent 3 hours on Apple website & there is nowhere to email & ask this!!!!
    Getting very frustrated

    Well I did it!  After over 3hours of frustration on the website logging here & there to find someone to ASK  a question I eventually called a phone number & a lovely Apple lady answered.  With the Serial Number YES they can look up the IMEI number for your (after I answered all the security questions correctly to ensure it was my phone) they emailed it to my registered email with the apple account.
    I couldn't look it up as everyone suggested as had lost the phone & didn't have laptop with me that had iTunes (everyone's other suggestion).

Maybe you are looking for

  • How do I bounce audio and midi tracks at the same time to burn a CD?

    Hi there, I would like to bounce a song with both audio and midi tracks recorded in it onto a CD. Despite ensuring that I am doing a realtime bounce (not offline) I am only getting the audio tracks burnt onto the CD - the midi isn't getting bounced t

  • IWeb 08 makes crappy URL with æ,ø,å that doesn't work in most browser!!!

    I live in Denmark and used iWeb 06 extensively with the danish characters æ, ø and å to name my subpages. iWeb 06 didn't care about those characters as it simply transformed them in the URL to characters/numbers that work in all browsers. iWeb 08 doe

  • Oracle Upgrade from 8.1.7.4 to 9.2

    Hi ALL, I am having a problem when i am trying to upgrade oracle from 8.1.7 to 9.2. I have installed Oracle 9i in seperate oracle home directory than the original 8.1.7 home directory. After that i have removed oracle_home = sid from <SID>adm user en

  • Japanese language extraction both bw and ecc are unicode.

    Hi all, I am trying to load the japanese language from ecc to bw. Both ecc and bw are unicode system. Both bw and ecc has japense language installed. I can see the data in the psa has japanse lanaguage but when i try to load the data i am getting an

  • Where do I find the exercise files

    I am trying to learn Edge Animate. It is telling me to open the pin.an file in Chapter 3? Where are these lessons located?