Activate field in a Form

I have created a form with a datefield and some textfields. I was wondering how I can activate / select(put the cursor) on the datefield so that the user will not have to move down to select it manually (in some forms the datefield is the only field so the user can't even scroll to select it).
Thank you for your help.
OB

Hi,
Try display.setCurrentItem(int i). Only works for MIDP 2.0 though.
Rgds,
Arnosh

Similar Messages

  • How to activate fields "Start Reason" and "End Reason" in "Contact" form?

    Hello all,
    We recently migrated HRMS from version 11.5.7 to *12.1.3*. In the previous version users filled the fields Start Reason and End Reason in the Contact form (PERWSDPC), section Contact Relationship.
    In our 12.1.3 version these fields are read-only and I can not figure out how to activate them.
    PS: I have populated the list of values that should be used in the above fields, using the form Life Event Reasons (Total Compensation: General Definitions: Additional Setup: Life Event Reasons) and setting the Type field value with Personal, but I don't know how activate the fields in Contact form.
    Any suggestions?
    Thanks
    Paolo Bertinetto
    Edited by: user3312880 on 7-gen-2013 2.11

    But in addition to entering values in *Life Event Reasons" form, there are other setup steps that have to be performed in order to use the two above fiields?                                                                                                                                                                                                                                                                                                                           

  • Put some additional field in pdf form for travel expenses report

    Heloo,
    I would like to get additional field (P0001-PLANS) organisational data in form ZPTRV_EXPENSE_FORM (copy of standard PTRV_EXPENSE_FORM).
    How to do that?
    BR
    Saso

    Hello,
    I am aasume you´re Adobe forms beginner, so I am sorry if I am going to tell you something what you already know.
    1) you have to find the interface of the form
    2) into the interface you have to add your field (probably you will have to copy the interface into a customer one)
    3) if you copy the interface, you have to change the interface name in the form properties
    4) you have to refresh the interface information in the form (sfp transaction, left part, refresh) and you should be now able to see your new field
    5) use drag and drop left to right (from interface to form context) to copy the new field into your form context (so the form is aware there is a new field)
    6) open LCD designer (if you don t have one, you have to download and install one, use 8.1)
    7) in the form layout, left side find "data view" tab from where you can drag a new field and drop it onto your form layout
    8) you must populate the new field, you can use initialization in the form interface or find the right spot in the printing program to populate the value before you send the data to the form
    9) save, activate, enjoy
    regards, Otto

  • How to activate several Formatted Search Forms !!

    Hi Guys,
    I have a problem concerning the manipulation of formated Search Forms. Actually when using the ActivatMenuItem() method, one needs a UID of the items to be activated. And I would like to use this method to activate several formated Search Forms but I don't know how to get the UID of those formatted Search Forms.
    While searching on the Forum, I have seen that some developers used following command SBO_Application.ActivateMenuItem("7425");
    I tried that and it works, but it only activates the first formatted Search Form saved in the CSHS table. My problem is how to activate the other formatted Search Forms and how to access their UID.
    Thanks in advance for Responding
    Bop

    Formatted searches are tied to an individual field on the screen.
    They are not launched by individual UID's, there is only one formatted search menu UID - 7425.
    The actual screen that is called is based on which field the focus is currently in.  If you are in form UID "1", field UID "1" it will call the formatted search (defined in CSHS) for Form 1 / Item 1.  If the focus is currently in field UID "2", it will call a different search.  If there is no formatted search defined on CSHS for the current field, then it will display a dialog asking if you want to create one.
    If you want to open other formatted searches for different fields in your form, simply place the focus on them before calling ActivateMenuItem("7425").  You can do this using the Click method.
    John.

  • I am working in Adobe Acrobat 9 Pro and just created a pdf form from a MS Word document. I need to find out how to have a date field in my form which will update automatically. Can some one out there help me?

    I am working in Adobe Acrobat 9 Pro and just created a pdf form from a MS Word document. I need to find out how to have a date field in my form which will update automatically.

    Update automatically under which circumstances, exactly?

  • Access 2013: Sum fields on a form suddenly showing up blank

    I have a simple Access database (originally built in 2010, now running 2013). Sometime in the last week or so all of the SUM fields in the database started showing up BLANK (one minute everything was working fine, the next it wasn't, not sure what happened
    in between). Even when I create a new, basic form, I can't seem to get my SUM fields working.
    For example, I have a table where I document number of miles traveled for work purposes, the fields include: TravelDate, ProjectID, Mileage, and Description. Mileage is a Number field, Long Integer. If I create a continuous form, connect it to the table
    (same thing happens if I connect to a query), add a field in the Detail section with
    Mileage as control source and txtMileage as name and a field in the FORM FOOTER that is: =Sum([txtMileage])...the SUM field is empty in
    Form View. And, there are no NULL values in the data set. This is happening across all of my forms and subforms, all SUM fields are now displaying as blank.
    Is it possible that I changed a global Access setting to cause this? A form setting? Any other ideas?
    Thanks!
    Laura

    I had the same sudden issue. But I was able to determine that it involved only one workstation. All the others were fine, as well as a test run on another Win 8 station outside the environment. From there I was able to determine that  a third party
    app had been installed near the time of the problem showing up. I uninstalled it and it immediately was resolved. The app was a C# based tool thought the authors have yet to identify why this caused a problem. My suspicion is that they wrote a 32 bit version
    and this was installed on a 64 bit station, and there is some issue with mso.dll, where I believe the function calls exist for sum. I am testing to see if there are similar function errors in Excel.
    What is noticeable was that Access did not throw a an Error# nor a #name. Just nothing appeared, and when you click on a row, the sum would appear, though it was incorrect.
    In Access 2010 I remember there were some footer field issues in continuous which eventually were patched.
    It was an opportunity to remind my client - do not install anything from any one on the live system without prior testing.

  • Enable/disable fields in Workspace form

    Okay here is my scenario. I need to disable some fields on a form depending on which user logs onto workspace to open the same form.
    1. User1 logs onto workspace and opens leave request form, fields at the top of the form are enabled for the user to fill out, bottom fields which are for leave request administrator to fill out are disabled but visible.
    2. User1 fills out top portion of leave request form and completes form. Workflow sends form to leave request administrators "To do" list in Workspace.
    3. Administrator opens up submitted form in Workspace and sees User1's filled out data on the form and the bottom fields are now enabled for administrator to approve or dissaprove. Bottom fields only include two check boxes, two text fields and one date field.
    Now how is this done? I am sure their maybe scripting involved? if so what is it and at what events in the form? Is this whole process done in the form or through Admin UI or Workebench as well? Please help!!!!!!!!!

    Hi Rahat,
    You can use the same form and enable/disable some fields according to the user's role with only little scripting. Review the steps the below:
    1-First place a hidden field ("user_role") in your form
    2-Insert a script object into your form onder "Variables" in object hierarchy and write a script for enabling/disabling the fields (regarding the value of "user_role")
    3-On the initialize and change events of the "user_role" call your script object
    4-On your process design, put a SetValue service before User tasks. In the asssignment you should set the desired user_role to the form, so that the script is triggered in your form and the fields are enabled/desiabled
    Fro further needs on your form or process design you can contact us from: http://www.kgc.com.tr/company_Contact.html
    Oguz
    http://www.kgc.com.tr

  • How does APEX check for null values in Text Fields on the forms?

    Hello all,
    How does APEX check for null values in Text Fields on the forms? This might sound trivial but I have a problem with a PL/SQL Validation that I have written.
    I have one select list (P108_CLUSTER_ID) and one Text field (P108_PRIVATE_IP). I made P108_CLUSTER_ID to return null value when nothing is selected and assumed P108_PRIVATE_IP to return null value too when nothign is entered in the text field.
    All that I need is to validate if P108_PRIVATE_IP is entered when a P108_CLUSTER_ID is selected. i.e it is mandatory to enter Private IP when a cluster is seelcted and following is my Pl/SQL code
    Declare
    v_valid boolean;
    Begin
    IF :P108_CLUSTER_ID is NULL and :P108_PRIVATE_IP is NULL THEN
    v_valid := TRUE;
    ELSIF :P108_CLUSTER_ID is NOT NULL and :P108_PRIVATE_IP is NOT NULL THEN
    v_valid := TRUE;
    ELSIF :P108_CLUSTER_ID is NOT NULL and :P108_PRIVATE_IP is NULL THEN
    v_valid := FALSE;
    ELSIF :P108_CLUSTER_ID is NULL and :P108_PRIVATE_IP is NOT NULL THEN
    v_valid := FALSE;
    END IF;
    return v_valid;
    END;
    My problem is it is returning FALSE for all the cases.It works fine in SQL Command though..When I tried to Debug and use Firebug, I found that Text fields are not stored a null by default but as empty strings "" . Now I tried modifying my PL/SQL to check Private_IP against an empty string. But doesn't help. Can someone please tell me how I need to proceed.
    Thanks

    See SQL report for LIKE SEARCH I have just explained how Select list return value works..
    Cheers,
    Hari

  • How to copy text from Excel to a text field in the form?

    Hi All,
    I want to copy a text from Excel or Word file and paste it in a text field in the form, How?
    I tried to use ctrl+c for copy and ctrl+v for paste but it doesn't work!

    hi, i've seen this problem before but can't remember what the solution was...
    but just by searching on this forum resulted in this link
    Re: Copy and Paste
    hope it helps

  • Change the value of a field in a form when the form is displayed

    Hello
    I have a report which has a link to a form for updating the records. I have used a link to the form from report which displays the the record to be updated i.e it gets default values from the report. I need to change one of these values at the time of displaying the form. The set_value in the 'before displaying the page' section doesn't change the vaue displayed in the form. I tried in other 'Advanced pl/sql' sections provided but didn't succeed.
    Thank you
    Jayasree

    hi,
    let's call the new value u want to set "NewValue"
    insert this code in the before displayin' the page
    htp.p('<script language="Javascript1.1">
    function defaultValue(fieldname)
    var thefield;
    for( var v=0; v < document.forms[0].elements.length; v++)
    // get the right field
    if (document.forms[0].elements[v].name.indexOf(fieldname) >= 0 )
    thefield = document.forms[0].elements[v];
                        thefield.value='''||NewValue||''';
    break;
    </script>');
    in the after displaying the page section call the function above with the appropriate field:
    htp.p('<script language=javascript1.1>
    defaultValue(''Field_Name'');
    </script>');
    where Field_name is the name of the field u want to change the value!
    Mohamed

  • Hardcode of a field in a form

    Hi Gurus!
    I want to hard code a field in a form. so that I cannot enter every time that field. Can you please tell me how to do using forms personalizations.
    Thanks,
    Darren

    Is it D2k forms or OAF page?
    --Shiv                                                                                                                                                                                                                           

  • Hiding Fields in Adobe Form

    Hi,
    I have some fields in my form that i want to hide. I added in some javascript into the button-click event. When previewing in the Adobe LiveCycle Designer, the fields are hidden successfully,but  when i press F8 button the fields are not able to hide.
    My JavaScript is:
    if(this.rawValue == null)
    this.presence = "hidden";
    Thanks.

    Hi,
    you can use as below,
    below Scripting can be used to ahcive this.
    1. FormCalc Scripting.
    2. JavaScript.
    Combination of both is also allowed in same form.
    Example:
    if( hasValue($) ) then
    StaticText1.presence eq u2018visibleu2019
    Else
    StaticText1.presence eq u2018hiddenu2019
    Endif.
    Thanks,
    Chandra

  • Hiding fields in HCM forms

    Hi Experts,
    I have following requirement for  hiding fields in my form.
    I have two screens MANAGER and HR screen.
    now i have some input fields which has to be visible in MANAGER screen and
    and should be hidden in HR screen.
    please let me know how can i achieve this using form calc or java script.
    any code will be helpful.
    Thanks,
    Santosh

    Hi sushmita,
    Thanks for ur reply.
    The solution which you have given i have  already tried but not working.
    my requirement is like MGR or HR can initiate the process.
    if only MGR intiates the process the solution which u have given will work.
    but here i have a diff scenario.i have created separate process for HR also but im not able
    to see that process on the process list.
    so i have to use only one process and resolve this.whatever im writing validation is working
    only when MGR initiates the process but fails when HR initiates.
    Hope u got my point.any suggestions will be helpful.
    Thanks,
    santosh

  • Hiding fields in a form

    hiding fields in a Form is called what? How do I go about hiding fields in a form than having a button the user can click on to make the fields visible to fill out?  Thanks  Nick

    The "presence" property controls the visibility of form elements. 
    This eseminar explains the details:
    http://adobechats.adobe.acrobat.com/p87746471/
    Thom Parker
    The source for PDF Scripting Info
    pdfscripting.com
    The Acrobat JavaScript Reference, Use it Early and Often
    http://www.adobe.com/devnet/acrobat/javascript.html
    Then most important JavaScript Development tool in Acrobat
    The Console Window (Video tutorial)
    The Console Window(article)

  • How to show a time field in a form portlet

    Hi,
    I am not familiar with PL/SQL and I was wondering how I could show a time field on a form portlet.
    I have a date column in my database that stores the time and date together, but I do not know how to separate them into date and time fields. I also do not know how to concatenate them when a user inserts a new record, or how to query on a date alone.
    At present, the user has to type the date and time following this format mask hh:mi am DD/Mon/RR
    I also have a problem with one of my hidden id fields. I have set the default to a sequence.nextval (#qtc_app.seq_visitor.nextval) and then hidden it since
    it is irrelevant to my users. However, I can no longer use the query function since the sequence is always generating a new value. How would I only generate
    a new sequence no. when a user inserts a record??
    Thank you!
    cheers, Kim

    Hi,
    Each colunm in the form has a format mask associated with it. For the date column make the format mask like this DD-MON-RR HH.MI. This will show the date along with the hours and minutes.
    Thanks,
    Sharmila

Maybe you are looking for

  • HP LaserJet P4515 Printer

    Hi ,      I am facing problem with the P4515 Printer . This Printer is attached to Postmate6 Pressure Sealer Output . The problem with the printer P4515 is that when given 200 printouts 15 pages are with papers . Suppose we give print-out one-by-one

  • Saving Sales order in CRM to R/3

    Dear Friends, When i make a Sales order in CRM it is flown to R/3. There is no problem when i do this. But if i make any changes in the Sales order in CRM then the Delivery block in the item schedule lines of same sales order in R/3 comes as pending

  • Issue while installing idm 8.1.1 gateway on 64 bit windows 2008 R2

    Hi We have issue in installing idm 8.1.1 gateway on 64 bit windows 2008 R2 C:\Program Files (x86)\IDM\gateway>gateway -i An error occured while trying to install the service: Input/output error Sun notes: if you're running 64-bit Windows 2008, you ne

  • MD04 exception message 20

    Hi experts, What is the significance of exception message 20 in MD04? It shows cancel process So what needs to be done? Regards,

  • C7: How to play .FLV files on Nokia C7

    Can I ask how do you play .FLV files on Nokia C7? I searched for FLV player in the Ovi Store and nothing is returned, whereas on Android Market loads of FLV players are available.