Waht to restrict user to enter decimal value?

Hello Experts,
I want to user to restrict to enter the decimal value in text field on forms.
Please help me out. i do not want the round fucntion but want to indicate the user.
Thanks
Yash

Hello,
Use a format mask that does not allow decimal parts, like 999990
Francois

Similar Messages

  • On and iPad how to Allow User To Enter Custom Text  (Dropdown only) Enables users to enter a value other than the ones in the list.

    On an iPad, how do I :
    Allow User To Enter Custom Text
    (Dropdown only) Enables users to enter a value other than the ones in the list.'?

    Are you using the built-in Currency option under the Format tab? If so,
    what you're describing should not happen.

  • How to force the user to enter a value in the prompt

    Is there a way to force the user to enter a value in the prompt before they run the report?
    We have a customer specific dashbaord. The user has to enter a customer number in Dashbaord prompt on a first page of the dashboard. We store that value in a presentation variable. That presenatation variable value is being referenced in all the other pages of the dashabord. If the user does not enter a values in the first page and directly navigates to the other pages on the dashbaord, the reports on the other pages start to run for all the customers. Is there a way to force the customer to enter a value in the prompt before running any of the reports on the dashboard?
    Thanks!

    by Answer prompts, do you mean Column prompt?
    I can not use Column prompt in this senario as the user should not have to enter the same customer number over and over again when he navigates from one page to another on the same dashboards. If there is a way to default the column prompts then this would be an acceptable solution.
    I have already defaulted the prompt to a value as suggested in hte blog, but the issues occurs when the user erases the defaulted value. Is there are way to set the default value within the report?
    Can you please explaing mroe about option 3 regarding Java Script. Also please let me know what other options there are so that I can check whether they will fit my needs.
    Thank you very much!

  • Force a user to enter a value for a parameter.

    Hi,
    I have a report with a bunch of parameters and I want to force the user to enter values for two parameters amongst all of them. Like for example when the user doesn't select values for those 2 parameters he should get a dialog box saying "please enter value for xyz parameter" or something like that, which will force the user to enter a value for the parameters before he can see the report.
    Please let me know if BI Publisher can do this.
    Thanks,
    DY

    Thanks for your replies BIPUser. I have recently started working on BI Publisher without a lot of help around.
    The information in the link is what I was thinking of, if there is no such feature I'll have a default value for those 2 parameters.
    Thanks,
    DY

  • Problem when Entering Decimal Values at Input Ready Query

    Hi Everyone,
    I have created Input ready query but when I am going to enter decimal values in input cell it takes as a round of value.
    Example:- If I enter 1.234 value at input cell it takes as a 1 or if I enter 1.789 value then it takes as a 2 at cell.
    The technical properties of Key Figure at Info object level is,
    Radio Button :- Decimal
    Drop Down :- FLTP (Floating Point)
    But we want to whatever value will enter at input cell, the same value will save at real time info cube level.
    Requirement :- If I enter 1.234 value at input cell it needs to take as a 1.234
    Please suggest your comments/views.
    Thanks
    Kind Regards
    Anukul

    Hi Giradkar,
    Check the setting of the UOM you are using in table 'T006' there are 2 fields that indicate how to display and how to store the values with respective UOM.
    Regards,
    Eitan.

  • How can we prevent a user from entering a value in Parameter Field?

    how can we prevent a user from entering a value in Parameter Field and Select-options Field?

    make it invisible, make it inactive, make it display only.
    if the field is not there or not to be seen the user WILL have problems inputting data.
    BUT once the field is there you can NOT prevent that the user fills it with data.
    all you can do is on PAI check if the data the user inputted was good or bad, and clear his inputs, but you can NOT prevent him inputting something.

  • How can i restrict users for entering manual expenditure batch for inventor

    Hi,
    Can someone explain me how to restrict users to enter manual pre approve batch for inventory expenditure class in projects??
    Regards,

    Forms Personalization.
    Regards
    Dharam

  • Disable jTable so that user cant enter any value & is stopped to do so

    Hi
    my program has 2 options for user: 1. To enter a list of values(for which im using table), 2. To use default values embedded in the program.
    for these options i have used jRadioButtons n ButtonGroup.When user selects DefaultValues radiobutton program uses default values,but when it selects DefaultValues radiobutton i want to disable the Table such that the user cannot enter any value in the cell and it should be visible to the user too that the table has been disabled.
    The user should only b able to enter values in table if he/she selects the first option's radiobutton.
    note: im using DefaultTableModel, if somebody can tell me any way other than using isCellEditable(),it would be more appreciatable
    thanks

    Erm i use netbeans..... the program i am pasting is really small in netbeans but when it is pasted somewhere else alot of code appears.....if its not right to do,tell me what to do....to make it more smaller
    import java.awt.Color;
    import java.awt.Component;
    import predoms.DisabledPanel;
    * @author Me
    public class test extends javax.swing.JFrame {
        /** Creates new form test */
        public test() {
            initComponents();
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">
        private void initComponents() {
            buttonGroup1 = new javax.swing.ButtonGroup();
            jRadioButton1 = new javax.swing.JRadioButton();
            jRadioButton2 = new javax.swing.JRadioButton();
            jScrollPane1 = new javax.swing.JScrollPane();
            jTable1 = new javax.swing.JTable();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            buttonGroup1.add(jRadioButton1);
            jRadioButton1.setText("default");
            jRadioButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jRadioButton1ActionPerformed(evt);
            buttonGroup1.add(jRadioButton2);
            jRadioButton2.setText("use table");
            jRadioButton2.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jRadioButton2ActionPerformed(evt);
            jTable1.setModel(new javax.swing.table.DefaultTableModel(
                new Object [][] {
                    {"a", null},
                    {"b", null},
                    {"c", null},
                    {"d", null}
                new String [] {
                    "Title 1", "Title 2"
                Class[] types = new Class [] {
                    java.lang.Object.class, java.lang.Integer.class
                boolean[] canEdit = new boolean [] {
                    false, false
                public Class getColumnClass(int columnIndex) {
                    return types [columnIndex];
                public boolean isCellEditable(int rowIndex, int columnIndex) {
                    return canEdit [columnIndex];
            jScrollPane1.setViewportView(jTable1);
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(72, 72, 72)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jRadioButton1)
                        .addGroup(layout.createSequentialGroup()
                            .addComponent(jRadioButton2)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                            .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 98, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addContainerGap(74, Short.MAX_VALUE))
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(136, 136, 136)
                    .addComponent(jRadioButton1)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 102, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jRadioButton2))
                    .addContainerGap(193, Short.MAX_VALUE))
            pack();
        }// </editor-fold>
        private void jRadioButton1ActionPerformed(java.awt.event.ActionEvent evt)
            DisabledPanel disabledPanel = new DisabledPanel(jTable1);
            disabledPanel.setDisabledColor(Color.lightGray);
            Component addu = this.add(disabledPanel);
            disabledPanel.setEnabled(false);        
        * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new test().setVisible(true);
        // Variables declaration
        private javax.swing.ButtonGroup buttonGroup1;
        private javax.swing.JRadioButton jRadioButton1;
        private javax.swing.JRadioButton jRadioButton2;
        private javax.swing.JScrollPane jScrollPane1;
        private javax.swing.JTable jTable1;
        // End of variables declaration
    }

  • BADI for MIGO for restricting User to entered other MVT types?

    Hi All,
    BADI for MIGO for restricting User to entered other MVT types?
    I want to restrict some of user not to use 501 Movement type ..I already created a Ztable for checking User for 501 type.
    Please let me know any Enhancement to be used to restrict user ?
    Thanks and Regards
    Steve

    Hi Steave,
    You can use this enhancement exit MB_CF001, this exit will be called every time before posting, you can use your logic in this exit. see its documentation first before implementing.
    Regards
    Ahsan

  • Restricting User to Enter Only Date Value

    Dear Expertsl,
    Can we restrict users to insert only date value (in RRMMDD format ) in a column whose data type is number,
    Note that i cannot modify the column because there are already values entered in the column and cannot delete it.
    Regards

    Try to convert it to a date in the WHEN-VALIDATE-ITEM-trigger, if it works, its a date, like
    DECLARE
      dt DATE;
    BEGIN
      dt:=TO_DATE(:THEITEM, 'MMYYYY');
    EXCEPTION
      WHEN OTHERS THEN
        -- Show error message
        -- then raise error
        RAISE FORM_TRIGGER_FAILURE;
    END;

  • How to allow user to enter new values in a segmnt which's having a ValueSet

    Hi Gurus
    I am having a DFF segment where user needs the following validation. I have to check whether the value entered by user is having status number as 5 in a custom table. I can do this by Table type Validation.
    But the problem here is, they should also be able to enter new values which not in that table.
    How i can achieve this. Appreciate your help on this.
    Thanks.
    Praveen

    Value sets allow only for standar list for validation, not a combobox that is what may help You to achieve what You want. You either have a restricted list or an open field to type whatever matches the format restrictions.
    For what You specify, I see no reason on having a table validation is the user can after all enter new values, perhaps it's to have the table values as references and avoid duplicates. Workarounds may be:
    Add an "others" value to the table, and enable another segment to enter new values and add custom validation to avoid duplicates and insert the new values to the table for future use.
    Have an independent value set and add a customization to avoid duplicates (more difficult considering typos) and insert new values.

  • How to restrict user to enter duplicate items in Purchase Order Lines?

    I have to do form personalization so that user cannot enter duplicate items in the PO.
    At when-new-item-instance in PO-Approve field, I have created a database function that is taking the count of items and returning the count value.
    In the condition I have given condition:
    1<(select func_name(parameter) from dual)
    10       message                 duplicate items in the po
    But its not working fine.
    Thanks & Regards
    Sunny

    Hi,
    The issue is resolved on my own exploration. We need to maintain the different authorization keys for the status which we did not want  a user  to access. If we leave it blank it will allow user to access.
    Regards,
    Sharath

  • What is the best way to prompt a Form user to enter a value

    Hi,
    I apologize in advance if this topic has already been raised on the forum - I've done a search but couldn't find anything.
    Basically I would be interested in finding out if there is a 'best way' to prompt and accept an entered value from a user. I am just experimenting at the moment with asking a user to enter a date value which will then be used in code. I am running Form 9.0.4.
    Any suggestions or links would be gratefully accepted,
    regards,
    Kevin.

    I am rather puzzled by the question. Forms primary use is to accept user input, and then respond to that input. It is no wonder a search does not turn anything up.
    So there are a number of ways to accept input. The first that comes to mind is a simple input field on the canvas with some prompt text next to it.
    I don't think there really is a "best practice". It really depends on what your form is doing.
    If you explained what you mean by "which will then be used in code", or described what your form needs to do, then you would get some good suggestions.

  • JAVA CODE Restricting users from entering Fractional numbers in Data forms

    Hi,
    is there anyone who can help me with the Java Script code of ValidateData.js file?? I am very novice in scripting and find it very difficult to write a proper javascript code to restrict the users from entering fractional numbers to HEADCOUNT cell. I would very much appreciate if i get some help from anyone out there.
    Users should be able to only enter whole numbers to the cells for Headcount entry.
    Kindly give me the layout of the script to be used. Has anyone out there ever done anything like this??
    Looking forward for a help.
    Thanks.

    Hi,
    I think customCellEnterPre and customCellValidatePre is the function you'd be using
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/apas02s01.html
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/apas02s03.html
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/apa.html
    You can refer to SampleValidateData.js that's within Planning deployment custom js folder for further reference and sample usage.
    Cheers,
    Alp

  • Restrict user to enter % sign in Text Item

    Dear All:
    I want to restrict the user to enter Percentage '%' and Under Score sign '_' in the Text Item.
    How is it possible?
    I am using Oracle Forms 10g.
    Thanks
    Hassan

    Here is a javabean solution..
    http://fdegrelle.over-blog.com/55-categorie-265996.html

Maybe you are looking for

  • AIR+JS Application in multiple clients, but all must have the same data

    Grettings. After googling, reading docs, and everything i cant find a solution to my problem. The thing is that i must create a adobe air app that must work in 4 clients. All the data from all the clients must be available to all the of them. If Numb

  • Sony Handycam HDR no longer recognized

    I have a Sony HDR HDD camcorder that, for quite a while now, had no issues with its 4pin DV-USB cable (that came with it) connection to my Mac Pro being recognized by iMovie 9. I haven't made a video in a couple of months, but recently, I filmed abou

  • Variables with wildcard

    hi, can some explain following code.what is the difference between these 3 variables. List<? extends Animal> li1= new ArrayList<Animal>(); List<? super Animal> li2= new ArrayList<Animal>(); List<?> li3= new ArrayList<Animal>(); Edited by: dvrajitha o

  • Does 3d work on the netflix app via appletv?

    Does 3d work on the netflix app via appletv?

  • Unable to start a conversation thru iMessage

    Hi, I have an iPod Touch 4G and I just upgraded the software to iOS5, but when I try to send a message thru iMessage to a friend it just don't let me, the send icon appears but while hit on it the message is not sent. Thank you