Default Value in Numeric Input Field in Visual Composer Application

Hi All,
I have developed a visual composer application which has a numeric input field for Hours.
It is mapped to a backend module.
We are using portal 7.31
The problem is that the deafult value of this input field is "0", but the rquirement is to display as "0.0"
The functionality has been tested with input values in decimals and works fine. The problem is when the screen first populates, that field should show "0.0" .
Please advise.
Thanks

Hi Soumya Chanda,
I don't know of an agreeable way around it. You could have a textual input, but then it doesn't have the numeric control behavior, plus you need to handle incorrect typing (alphanumeric notes).
Sorry!

Similar Messages

  • How to make default value in form input field disappear on user click

    I have an HTML input tag with a default value.
    How can I have that value disappear when user begins to type?
    Form is here:
    http://www.kardsbykaren.us/10pack.php
    Happy Holiday and thanks.

    Have a look here http://www.matiasmancini.com.ar/ajax-jquery-validation-html5-form.html
    Gramps

  • Default values in the input fields of Adobe forms

    Hi,
    The default value settings in the value tab of the object pallette(Adobe Designer) is not getting reflected at the form (Portal level).. PLs help. what could be the reason for this.
    Can it be done through coding? if yes, pl[ease help with regard to it.
    I appreciate your valuable comments.

    Hi,
    If you are using <i>ISR based Adobe Interactive Forms</i>, you can set the default values using <b>INT_SERVICE_REQUEST_INIT</b> method if<b> QISR</b> BADI.
    Regards,
    <i><b>Raja Sekhar</b></i>

  • Loading a default value to a text  field

    Hi All...
       I  have some input fields say account no.. , i want that these input fields should be loaded with default values. How can i specify default values to these input fields.
    Plz help...

    hi bichoo..
              all your input fields would be bound to different attributes..... for every attribute you have an option called default value... in the context... you can make use of that...
                   or
               in the wddoinit method, you  can pass teh values to these attributes dynamically using set_attribute method.
    ---regards,
       alex b justin

  • How to restrict the user to enter only numeric values in a input field

    How to restrict the user to enter only numeric values in a input field.
    For example,
    i have an input field in that i would like to enter
    only numeric values. no special characters,alphabets .
    reply ASAP

    Hi Venuthurupalli,
    As valery has said once you select the value to be of type integer,once you perform an action it will be validated and error message that non numeric characters are there will be shown. If you want to set additional constraints like max value, min value etc you can use simple types for it.
    On the project structure on left hand side under local dictionary ->datatypes->simple types create a simple type of type integer
    The attribute which you are binding to value property ;make its type as simple type which you made
    Hope this helps you
    Regards
    Rohit

  • How to set default value in Profit Center field of Tcode F-02.

    Hi!
    Is it possible to set a default value for 'Profit Center' field in t.code F-02? Is there a way wherein the value will be copied in reference to the entered Business Area?
    For example, if during parking/posting of document, user input a value of 300 in the Business Area field, the system will automatically put 300 in the Profit Center field. Is there a way to do this?
    Hoping for your feedback.
    Thanks,
    April

    Hi
    Using the substitution this can be achieved.
    TC:GGB1
    Step-1: Prerequiste select the Company code for which this requirement is needed
    Step-2: In Substitution field, select the the "Profit center" field on selection of the field - system'll asks you -  How would you like to substfield BSEG-PRCTR ? with the 3 options
      i.constant value
      ii.exit
      iii.Field-Field assignment
    Select the 3rd option on selecting 3rd option before going to save that substitution it'll ask you to input which field should input the field BSEG-GSBER:Business area
    Step-3: activate the above substitution in TC:OBBH
    With the above settings whenever any value inputs in Business are field then the same value will be substituted in the Profit center field.
    Note: Make sure in all FSG - business area & profit center having the field status optional
    Can you tell me onething why this requirement has came ? Is business area and profit center are same in number and prupose
    regards
    Ramana
    Edited by: Ramana on Jan 8, 2008 9:33 AM

  • Reinitiali​ze Default Value of Numeric control

    Hi all ,
         Is it possible to reinitialize default value of numeric Control while running labview ? 

    hi CsabaF,
    First of all
    i wants say for your Kindly reply ... 
    Your second Post Seems okay for me but it in my case i have loots of input controls
    i have added VI file as example (if i get some easy solution means no need to create config file process)  
    Attachments:
    Untitled 8.vi ‏10 KB

  • How to set a default value in a DateTime field?

    Hi!, how do you set a default value in a DateTime field in a user table to the value of "today"?
    Thank you!

    It's in SAP Business One 2007, in User-Defined-Fields, under User Tables, Iam trying to add a field to a Table I created in the User-Defined-Tables-Setup menu.
    I click Add then type the field name, description and then I select the Type, which is DateTime, then the SelectDefault Value For Field get's grayed out.
    Thank you!

  • How to prepopulate value in webapps input fields or for any custom fields in for any other forms?

    How to prepopulate value in webapps input fields or for any custom fields in for any other forms?

    What do you want to populate the form with?

  • Maintaing a default value for a particular field in the selection screen

    Hi all,
    How to maintain a default value for a particular field in the Selection Screen of a Standard report
    Regards
    Ajay

    >
    ajay babu wrote:
    > Hi all,
    >
    > How to maintain a default value for a particular field in the Selection Screen of a Standard report
    >
    > Regards
    > Ajay
    Create a variant for your standard program and assign this variant to the field 'Start with variant' while creating transaction code for the standard program in the transaction 'SE93'.
    Regards
    Rajesh.

  • Mixing Html/JSP - Is it possible to retain value in "file" input field?

    I have a jsp page with the following snippet:
    <% String text1 = (String)session.getAttribute("text1");
    if(text1 == null) {
    text1 = " "; }
    //get more attributes here
    %>
    <form name="file" action="checkFields_images.jsp" method="post" enctype="multipart/form-data">
    <input type="text" size="15" name="text1" value="<% =text1 %>"><br>
    <input type="file" name="image1" />
    <br>
    <input type="text" size="15" name="text2">
    <br>
    <input type="submit" name="submit" value="submit">
    </form>
    ...upon submission, it will go to a jsp that will check the fields for blanks or errors. If there are errors, the page will forward the user BACK to the original page, and each field that had an entry will be displayed with what the user had entered.
    The way my code operates is when the user hits the submit button, the jsp page that checks the fields is also setting the values submitted in session attributes. Those of you familiar with JSP code will know what I mean.
    That way when the page is redisplayed the "value" attributes of each <input> field will be set to what the user entered by way of such:
    <input type="text" name="text1" value="<%=text1%>">
    where <%=text1%> is a java variable set to the session attribute value for this <input> field.
    Now I know that the <input type="file> field has a value attribute, but I don't believe it is something that can be set. So how do I workaround this? I just want the field to display the file name the user had selected. I've worked with mixing JavaScript and Java code, but there are certain things you can and can't do, and I'm coming up with any "can do's" for this one.
    Any suggestions are appreciated
    Thank You,
    Love2Java

    You are absolutely correct.
    For security reasons, you can't specify a value for the input type="file".
    Here is one suggestion, of how I would see it work in a perfect world.
    - The file is uploaded and retained on the server
    - You send back a page without an input type="file"
    - The user fixes whatever fields they got wrong and submits again
    - The server picks up the correct fields, along with the file sent with the "bad" request, and then continues as normal.
    In this way, you only have to upload the file once.
    Instead of regenerating the <input type="file">, it would generate something like "File already uploaded. Correct other fields"
    pros:
    - Don't have to worry about repopulating the input type="file"
    - user only uploads the file once
    cons:
    - if the user wants to change the file? Maybe another link?
    - must retain file on server somewhere, and find it later.
    I didn't say it was easy, but it seems the most sensible approach to me.
    Cheers,
    evnafets

  • How to maintain default values to the screen fields.

    hi,
    i m creating screen in se51.
    when i press New button the screen is filled with default values
    nrart = 'h' and proz1 = '100' .
    how can i set default values.
    plz give me a response

    HI,
              You can set default values on to screen fields using SET and GET PARAMETER command, You need to assign a PARAMETER ID for that screen field and then use SET PARAMETER before the screen is called or in the PBO of the screen, you can set default values direcly in PBO of the screen but then you have hard code those value or read the data from database.
    You need to have a TABLES statement to create a strucutre that you used to create your screen fields, then when you set value to these strucutre fields these values will get tranported to the screen fields automatically.
    Regards,
    Sesh

  • How to set the current month as the default value of an input control?

    Hello,
    I want to set the current month or current year as the default value of an input control. Something like try to get the month from the currentdate() formula and assign it to the input control.
    Is this possible?
    Thanks & Regards
    SU

    >
    soauniverse wrote:
    > Hello,
    >
    > I want to set the current month or current year as the default value of an input control. Something like try to get the month from the currentdate() formula and assign it to the input control.
    >
    > Is this possible?
    >
    > Thanks & Regards
    > SU
    I don't think so.  I tried to find a property or something in that Input Control but there is nothing to set it that way.

  • Get Value From an input field

    Hi All,
    I am a newbie to ABAP Webdynpro.I would liketo know how should I get the value from an input field at runtime?
    Thanks,Mukta

    By reading the context attribute which bound to inputfield, you can get the value.
    Say you have a node called 'MAIN_NODE' and has the attribute 'INPUT_VALUE', which is bound to the Inputfield.
      DATA LO_ND_MAIN_NODE TYPE REF TO IF_WD_CONTEXT_NODE.
      DATA LO_EL_MAIN_NODE TYPE REF TO IF_WD_CONTEXT_ELEMENT.
      DATA LS_MAIN_NODE TYPE WD_THIS->ELEMENT_MAIN_NODE.
      DATA LV_INP_VALUE LIKE LS_MAIN_NODE-INP_VALUE.
    * navigate from <CONTEXT> to <MAIN_NODE> via lead selection
      LO_ND_MAIN_NODE = WD_CONTEXT->GET_CHILD_NODE( NAME = 'MAIN_NODE' ).
    * get element via lead selection
      LO_EL_MAIN_NODE = LO_ND_MAIN_NODE->GET_ELEMENT(  ).
    * get single attribute
      LO_EL_MAIN_NODE->GET_ATTRIBUTE(
        EXPORTING
          NAME =  `INPUT_VALUE`
        IMPORTING
          VALUE = LV_INP_VALUE ).  "LV_INP_VALUE will have the value of inputfield
    Raja T
    Message was edited by:
            Raja Thangamani

  • Default value for selection screen field

    Hi all,
      I am using LDB PNPCE. I want to give default value for field Personnel area on selection screen.
    How can I do it?
    Thanks
    Rahul

    Hi Rahul,
    In the INITIALIZATION event we can set the default values for selection screen fields.
    INITIALIZATION.
    loop at screen.
    if screen-name = 'S_MATNR-LOW'.
    CLEAR S_MATNR.
    s_matnr-low = '1234'.
    s_matnr-option = 'EQ'.
    s_matnr-sign = 'I'.
    append s_matnr.
    CLEAR S_MATNR.
    s_matnr-high = '5678'.
    s_matnr-option = 'EQ'.
    s_matnr-sign = 'I'.
    append s_matnr
    clear s_matnr.
    endif.
    endloop.
    Hope it helps.
    Mark if useful
    Regards,
    Saumya

Maybe you are looking for

  • Slow connection between two Macs in LAN

    Why does it take so long to connect one Mac to another Mac's public folder on LAN? Mac mini 2.4 GHz (the latest model with 4 GB RAM) is connected to LAN with 100 Mbps LAN cable; MacBook Pro 17" 2.33 GHz (2 GB RAM) is connected to LAN with AirPort 802

  • Gray items in itunes won't show on ipod

    I downloaded a book from the library (I do it all the time), but this time several chapters show grayed on Itunes with a dotted circle and don't show on my nano ipod at all?

  • Need help connecting to laptop

    I have hooked my HTC incredible phone to my laptop using a usb cord to try and connect to the internet but can't figure out how to do it once its hooked up. I clicked on the box to make sure its using the broadband but after that I'm lost. Some help

  • Skype for Business - Cannot see shared screens, but I can share my screen

    I just started a new job and am required to use Skype for Business.  I downloaded Skype for Business 32 bit.  My PC is 64 bit but because I already have other Office 32 bit programs, I cannot install the 64 bit version. Everything in Skype for Busine

  • Downgrade  JDK 1.6  to 1.5

    Hi experts, We are facing chart export problem in OBIEE 10.1.3.4.1,Oracle suggest to downgrade JDK from 1.6 to JDK 1.5 So will it effect OBIEE? what will be steps..? Edited by: 964358 on 11 Oct, 2012 11:17 PM