Data Manipulation on a Text Field

I have an HTML form in which I enter information about a data provider. The first field in this form is composed of three pieces of data, separated by underscores. Is it possible for me to extract each of these individual pieces, and use them to populate other fields in the same form? If so, after this is done, I would like the user to be able to continue populating the rest of the fields in the form.
Thank you in advance,
M.S.

Look at implementing a procedure using "instr" or "substr" functions.
Gus

Similar Messages

  • How Can i send the data entered in Input text fields to e-mail?

    Iam Jennifer, Iam having a doubt in Flash, I hope that you
    are going to solve my problem, Iam taking 3 Static text fields as
    Name, Age and Country and besides each and every static text fields
    i have taken 3 input text fields with different instance names,
    when i enter my Name, Age and Country details in the input text
    fields and after entering those details if user clicks the submit
    button the data should be send to some mail address, is it possible
    Im not so good at action script, but i hope that any one can
    help me...
    Iam attaching the action script code also, please find the
    attachment below, the actions are given to button.
    Attach Code
    Btn.onPress = function ()
    mail_lv = new LoadVars();
    mail_lv.dummy1 = "";
    mail_lv.subject = "Details";
    mail_lv.message = "hi";
    mail_lv.username = "name_txt".text;
    mail_lv.age = "age_txt".text;
    mail_lv.country = "country_txt".text;
    mail_lv.onLoad = function ()
    trace("Sent successfully...");
    trace("mail_lv.subject = " + mail_lv.subject);
    trace("mail_lv.message = " + mail_lv.message);
    mail_lv.send("mailto:[email protected]", "_blank");

    The names of your variables, "name_txt", for instance, should
    NOT have quotes around them. Use:
    mail_lv.username = name_txt.text;
    mail_lv.age = age_txt.text;
    mail_lv.country = country_txt.text;

  • Query a view w/data entered into a text field populated by 2 table fields

    Hello, Looking for advise!!! I have a tabular canvas thats datablock uses a view to populate. In this canvas I have a text field that has been populated with first_name || ' ' || last_name in the database node of the property pallate column name. The text field is not in the table or view. I have created it in the data block and make it a database item. However, I would like to have the user push a search button to go into ENTER_QUERY mode then the user would enter the criteria to search on in this text field. The user would then push button to EXECUTE_QUERY. The result is I retrieve all records. I want any search criteria entered into this field to be used against the last_name field to retrieve any records equal to the search criteria entered, for example A%. Does anyone know if this is possible?

    Hi!
    You have to use PRE-QUERY trigger to compose the search criteria. Below I put an example of it. You have to have at least one item in the block wich is true database item (e.g. it has to exist in table or view on which your block is based). In the following example EMP_DESC is your non-database search item and EMP_ID is the database one.
    Declare
    Dummy VARCHAR2 (2000);
    begin
    if :EMP.EMP_DESC IS NOT NULL and :EMP.EMP_ID IS NULL
    then
    Dummy := '#IN (SELECT emp_id FROM Employees WHERE Upper (emp_first_name)||'' ''||Upper (emp_sec_name) LIKE Upper (''%'||:EMP.EMP_DESC||'%''))';
    Copy (Dummy, 'EMP.EMP_ID');
    end if;
    end;
    Thats it. Note the # sign in the first position of the Dummy assignment. This is required by forms to glue your search criteria and block's where clause. You may analize LAST_QUERY property of your block in order to understand how this work. Remember also to set the QUERY_LENGTH property of the EMP_DESC item to the value that could contain the whole Dummy string (otherwise it will give you an error and cut the mar the query).
    Hope this helps.
    Sergey.
    P.S. And set your EMP_DESC database item property to NO.

  • How to determine the data type of  a text field

    hi,
    I have a text field, now i need to know what data type i have given?
    it may be numerical, string, date & boolean data type. when i write something after that it will determine the data type of the input text? is it possible in jsp? Is there anyone who can help me about this? Please help me
    With regards
    Bina

    javascript:
    function test(sample){
          if(sample==true || sample==false){
           alert('boolean')
          }else if(isNaN(sample)){
           alert('number')
          }else{
          alert('string')
        }

  • Is there a way to import data from a specific text field in a PDF form directly into a text field in a different PDF?

    I know you can import form data from an .fdf file. Is there a way to import a specific value from that .fdf file into a text field in a separate pdf form?

    So I want the FDF to export every time the user saves or closes the PDF. Then I want the import to happen every time the user opens the PDF. That being said, this all has to work with Adobe Reader. If this is possible in anyway, I'd manage this would require some time of script. Any thoughts?

  • Today's date dynamically entered into text field that user enters additional text into same field.

    Trying to have today's date dynamically entered into a repeating table row textfield when the button is clicked to create each repeating row. The user can then enter addtional text into the same text field next to the date.
    Example:
    [4/25/2012] This is the text the user entered.
    Today's date is populated in each update row created when the "Update Row" button is clicked.
    The following script works but only for the first instance, not the second, third, forth, etc...
    Click event: (JavaScript, client)
    this.resolveNode('Table2._RowB').addInstance(1);
    xfa.resolveNode("Table2.RowB.#subform.Update").rawValue
    Thank you,
    ~Don

    Hi Don,
    Does this solution cover the above problem? https://acrobat.com/#d=VjJ-YsXLKmV6QU84JrAAIw
    Niall

  • Emailing data found in input text fields

    Hi,
    I have a simple form that users fill in various "input" text
    fields like "Name", "Email", etc... now all I want is when the
    click on the "send" button, it should automatically send an e-mail
    to "info@...".
    I got it to enter the proper recipient email address and
    subject but there's not content. What am I missing?
    Thanks,
    Phalconheart

    Thanks for the prompt reply.
    Just to clarify (programming is not my primary function...
    far from it)
    Yes, just opening the clients e-mail program and populating
    it with all the variable info he's selected is fine.
    so, in your code:
    url ="mailto:[email protected]?subject=Message
    Subject&body=First line of message.%0ASecond line." + "%0A" +
    "Third line.";
    1) what does the "%0A" do exactly?
    2) do I simply replace where you wrote "First Line of
    message" with the code "variables.item = itemChoice.text;"? and so
    on and so forth?
    Thanks,
    Pat

  • Paging a data table with input text fields

    I've created a datatable with input text fields so that contents can be edited. I have 'save' and 'cancel' buttons on the page so that changes can be saved or abandoned. That seems to work fine.
    However, I have a problem with paging. If I modify an input text field, page to the next page in the datatable and then page back, the modified input text field reverts to the original entry in the database. Does anyone know how I can preserve this change (without issuing a commit) until the user clicks on the save button?
    Here is a snippet of jsp with datatable.
    <h:dataTable binding="#{DocTypeDetail.doctypeMetadataTable}" headerClass="list-header" id="doctypeMetadataTable"
    rowClasses="list-row-even,list-row-odd" rows="5" style="left: 240px; top: 312px; position: absolute"
    value="#{DocTypeDetail.doctypeMetadataTableModel}" var="currentRow">
    <h:column binding="#{DocTypeDetail.column2}" id="column2">
    <h:inputText binding="#{DocTypeDetail.textField1}" id="textField1" value="#{currentRow['name']}"/>
    <f:facet name="header">
    <h:outputText binding="#{DocTypeDetail.outputText5}" id="outputText5" value="Name"/>
    </f:facet>
    </h:column>
    <h:column binding="#{DocTypeDetail.column3}" id="column3">
    <h:inputText binding="#{DocTypeDetail.textField2}" id="textField2" value="#{currentRow['value']}"/>
    <f:facet name="header">
    <h:outputText binding="#{DocTypeDetail.outputText8}" id="outputText8" value="Value"/>
    </f:facet>
    </h:column>
    <f:facet name="header"/>
    <f:facet name="header"/>
    <f:facet name="header"/>
    <f:facet name="header"/>
    <f:facet name="header"/>
    <f:facet name="header"/>
    <f:facet name="header"/>
    <f:facet name="header"/>
    <f:facet name="header"/>
    <f:facet name="header">
    <h:panelGroup binding="#{DocTypeDetail.groupPanel1}" id="groupPanel1" style="display: block; text-align: center" styleClass="list-paging-header">
    <h:commandButton action="#{DocTypeDetail.doctypeMetadataTable_firstPageAction}"
    binding="#{DocTypeDetail.doctypeMetadataTableHeaderFirstButton}" id="doctypeMetadataTableHeaderFirstButton"
    image="resources/paging_first.gif" immediate="true"/>
    <h:commandButton action="#{DocTypeDetail.doctypeMetadataTable_previousPageAction}"
    binding="#{DocTypeDetail.doctypeMetadataTableHeaderPreviousButton}" id="doctypeMetadataTableHeaderPreviousButton"
    image="resources/paging_previous.gif" immediate="true"/>
    <h:commandButton action="#{DocTypeDetail.doctypeMetadataTable_nextPageAction}"
    binding="#{DocTypeDetail.doctypeMetadataTableHeaderNextButton}" id="doctypeMetadataTableHeaderNextButton"
    image="resources/paging_next.gif" immediate="true"/>
    <h:commandButton action="#{DocTypeDetail.doctypeMetadataTable_lastPageAction}"
    binding="#{DocTypeDetail.doctypeMetadataTableHeaderLastButton}" id="doctypeMetadataTableHeaderLastButton"
    image="resources/paging_last.gif" immediate="true"/>
    </h:panelGroup>
    </f:facet>
    </h:dataTable>

    I know by now you must have figured it out. If not you might want to try keeping the backing bean in session instead of request scope.
    Hope that helps,
    HeMan

  • Looking up data and validating a text field

    Hi All,
    Ran into an issue with a Application Express system i support, there is a table inside a database with department codes. HG and JW. what i need to do is look up the department code and validate a text field, for example, if the user enters "HG" or "JW" then the form can be submitted. i got told it was PLSQL in the "Page Processing" Page
    Sorry for the bad descrpition, im a complete beginner to Application Express
    Thanks,
    Sam

    940648 wrote:
    Hi All, Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your profile with a real handle instead of "940648".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    Ran into an issue with a Application Express system i support, there is a table inside a database with department codes. HG and JW. what i need to do is look up the department code and validate a text field, for example, if the user enters "HG" or "JW" then the form can be submitted. i got told it was PLSQL in the "Page Processing" Page
    Sorry for the bad descrpition, im a complete beginner to Application ExpressTake the <i>Oracle® Database 2 Day + Application Express Developer's Guide</i> tutorial in order to understand basic APEX techniques and terminology.
    What you're looking for is Validation.
    This is covered in the Oracle By Example tutorial: Building an Application using Oracle Application Express: Part 1

  • How do you auto populate a date in a different text field after someone digitally signs the PDF form?

    I am trying to auto populate a date in a text box on the upper right hand corner of my document after someone digitally signs it. Is this possible? How do you do this?

    Go to the Properties of the Digital Signature field and under the Signed tab enter this JS code, under the last option:
    this.getField("SignDate").value = util.printd("mm/dd/yyyy", new Date());
    this.getField("SignDate").defaultValue =this.getField("SignDate").valueAsString;
    Of course, you can adjust the field name and the date format used in the script above.

  • How to pull data out of a text field?

    How could I accomplish the following.?
    Current data in the column.
    PREOPERATIVE DIAGNOSES:   1.  Right shoulder rotator cuff tear.   2.  Right shoulder biceps tendon disease with superior labral tearing.      POSTOPERATIVE DIAGNOSES:   1.  Right shoulder rotator cuff tear.   2.  Right shoulder biceps tendon disease with superior labral tearing.      SURGEON:  Jane, Doe, MD      ASSISTANT:  Jane, Doe, PA-C and Bob, Doe MD, orthopedic resident.  The assistance of a physician's assistant was required for limb positioning and placement of anchors.      ANESTHETIC: Interscalene block plus general.      DRAINS:  None.      COUNTS: Sponge and needle count were correct.      MATERIAL FORWARDED TO THE LABORATORY:  None.      OPERATION PERFORMED:   1.  Right shoulder arthroscopic rotator cuff tear.   2.  Right shoulder open subpectoral biceps tenodesis.   3.  Right shoulder subacromial decompression with acromioplasty.   4.  Right shoulder extensive glenohumeral debridement.   
    I would like the following in MS Excel.  I would like to pull the header out into a separate column.
    Header
    NOTE_TEXT
    PREOPERATIVE DIAGNOSES: 
    1.  Right shoulder rotator cuff tear.  2.  Right shoulder biceps tendon disease with superior labral tearing. 
    POSTOPERATIVE DIAGNOSES:
    1.  Right shoulder rotator cuff tear.  2.  Right shoulder biceps tendon disease with superior labral tearing. 

    The entire field of data is below.  I highlighted the header in Red where the data stopped being accurate.
    5/7/2014
    LINE
    Split_Text
    1
    PREOPERATIVE DIAGNOSES:   1.  Right shoulder rotator cuff tear.   2.  Right shoulder biceps tendon disease with superior labral tearing.      POSTOPERATIVE DIAGNOSES:   1.  Right shoulder rotator cuff tear.   2.  Right shoulder biceps tendon disease with superior labral tearing.      SURGEON:  Bob, Doe  MD      ASSISTANT:  Jane, Doe  PA‑C and Jane, Doe , MD, orthopedic resident.  The assistance of a physician's assistant was required for limb positioning and placement of anchors.      ANESTHETIC:  Interscalene block plus general.      DRAINS:  None.      COUNTS:  Sponge and needle count were correct.      MATERIAL FORWARDED TO THE LABORATORY:  None.      OPERATION PERFORMED:   1.  Right shoulder arthroscopic rotator cuff tear.   2.  Right shoulder open subpectoral biceps tenodesis.   3.  Right shoulder subacromial decompression with acromioplasty.   4.  Right shoulder extensive glenohumeral debridement.      INDICATIONS:  Mr.XXXXX is a 71‑year‑old male with symptomatic right shoulder rotator cuff tear and degenerative tearing of his labrum and biceps tendon symptoms.  His AC joint is asymptomatic.  I had a long conversation with Bob regarding options.  We discussed nonoperative and operative options.  He would like to proceed with surgical intervention.  I explained the risks and this is well documented in my Clinic note.  On the day of surgery, I met with Bob Doe and his wife.  I reviewed the procedure and answered their questions.  They understand and agree to proceed.      OPERATIVE FINDINGS:  Reveal symmetrical range of motion.  The diagnostic arthroscopy reveals degenerative tearing of the anterior superior and posterior superior labrum.  There was thickening of the biceps tendon.  Minimal fibrillation of the superior subscapularis.  The subscapularis is intact.  There was high grade partial‑thickness tearing of the entire
    2
    supraspinatus and anterior infraspinatus.  The more posterior rotator cuff was normal.  There is chondral thinning of the articular cartilage of the humeral head and glenoid, but no significant chondral loss.  Within the subacromial space was a significant anterior spur off the acromion.      IMPLANTS:  Arthrex 4.5 mm PEEK corkscrew anchor x2, Arthrex 4.75 mm BioComposite SwiveLock x2.      DESCRIPTION OF PROCEDURE:  After in ["V12.72","V13.89","V10.05"] was counseled and plans, alternatives and risks were discussed, consent was obtained.  The correct operative extremity was marked in the preoperative holding area and preoperative antibiotics were administered.  An interscalene block anesthetic was administered without difficulty.  The patient was brought back to the operating suite and administered a general anesthetic.  The examination under anesthesia was performed and the findings are noted above.  The patient was placed in the beach chair position with bony prominences well padded.  The right upper extremity was prepped and draped in the usual sterile fashion.  A timeout process was completed.  A standard posterior arthroscopy portal was created followed by an anterior portal for the working instruments.  A thorough diagnostic arthroscopy was undertaken and the findings are noted above.  Attention was now turned to the extensive glenohumeral debridement.  The motorized resector was used to debride the frayed labrum anteriorly, superiorly and posteriorly.  The biceps tendon was transected.  The stump of the biceps tendon was debrided back to a stable margin.  The arthroscopic instruments were removed.      A 3‑4 cm incision was made in the mid axillary fold.  Hemostasis was obtained with electrocautery.  Dissection was carried down to the pectoralis major fascia, which was opened bluntly, exposing the underlying bicipital groove.  The long head of the biceps tendon was retrieved.  A #2
    3
    FiberWire was placed in the tendon 2 cm away from the musculotendinous junction.  A Cobb was used to remove soft tissue from the bicipital groove.  A 7 mm unicortical socket was placed in the shaft of the humerus.  The long head of the biceps tendon was placed within this socket and held in position with a 6.25 mm BioComposite SwiveLock achieving excellent purchase.  The sutures from the tendon and implant were tied together.      The arthroscope was reinserted into the subacromial space.  A standard lateral portal was created.  A thorough bursectomy was undertaken.  Motorized resector was now used to debride and freshen the end of the torn rotator cuff.  A combination of a motorized resector and ring curet were used to abrade the greater tuberosity.  A second lateral portal was created.  A 4.5 mm PEEK corkscrew anchor was placed in the posterior aspect of the tear 5 mm away from the articular cartilage.  All 4 of these sutures were brought up through the rotator cuff in a mattress fashion.  A second anchor was now placed in the anterior aspect of the cuff tear.  One set of sutures was brought through the cuff in a mattress fashion and the far anterior set was brought to the far anterior aspect of the supraspinatus tear as a simple suture construct.  This knot was tied.  The remaining sutures were tied as mattress sutures.  One limb of suture from each set was then positioned into a 4.75 mm BioComposite SwiveLock and impacted 1 cm lateral to the greater tuberosity creating an excellent double‑row suture bridge equivalent repair.  This was repeated with a second BioComposite SwiveLock and the remaining 3 sutures more anteriorly.  The tear was then inspected.  Range of motion revealed no gapping.      Attention was now turned to the acromioplasty.  The CA ligament was recessed off the anterior acromion with the radiofrequency device.  A bur was then used to flatten the anterior acromion.  Bone was removed until
    1
    5/7/2014
    PAT_NAME
    LINE
    Split_Text
    DAMROW,NEIL ARTHUR
    4
    the acromion was flat from posterior to anterior.  Bony debris was then removed and the subacromial space was copiously lavaged.  The arthroscopic instruments were removed.  Portal sites were closed with nylon.  The anterior incision was closed with 2‑0 Vicryl and Monocryl.  Sterile dressing was applied followed by a shoulder immobilizer.  The patient was extubated on the operating table and taken to the recovery room in good condition.  He tolerated the procedure well and there were no complications.  Estimated blood loss was minimal.      DISPOSITION:  The patient will be discharged home through Same Day Surgery per protocol.  He may remove his dressing on postoperative day #3 and shower and redressing incisions with Band‑Aids and gauze.  He will wear a sling for 6 weeks.  He may start some very gentle closed chain range of motion exercises in the next 7‑10 days with physical therapy at the Clinic.  The patient will follow up with me on postoperative day #12 at  for suture removal.  He was given oxycodone, MS Contin and Vistaril for postoperative pain.  He may have a refill of oxycodone or Vicodin in the first month postoperatively.         Jane,Doe, MD             D: 08/09/2013 12:51   T: 08/09/2013 13:37   MT: ag      Name:     DAMROW, NEIL   MRN:      0000‑00‑00‑00        Account:        0   DOB:      07/01/1942           Procedure Date: 08/09/2013      Document: E4204056
    2

  • Dynamic data bindig into a text field

    guys,
    i have a label in the report. i wanna do a calculation in the format trigger of that and display the answer on the label. is this possible???
    if possible how am i to do it... pls help..
    cheers
    anushka

    Hello,
    It is possible to modify the text of a lable dynamically under the following conditions :
    - the label value must reference a lexical variable :
    &dummy
    - use the builtin SRW.SET_FIELD_CHAR (0 , <value> ) in the format trigger to set the lable value dynamically
    regards

  • Auto date entry in text field not working

    I have a text field named tdate, which is read-only and visible. I want Acrobat XI Pro to insert today's date when the form is opened. Here's what I have:
    javascript code:
    var f = this.getField("tdate");
    if (!f.value) f.value = util.printd ("mmmm d, yyyy", new Date());
    This code is inserted in Page properties / Actions /Page Open / run a JavaScript
    nothing happens when the page is opened.
    I have also tried, unsuccessfully, to enter this JavaScript code within the form field actions (mouse up), and nothing happens. I see from the forum comments that apparently this is successful for other users, but nothing seems to fill this text field. What am I doing wrong?
    Bill

    Thanks for your reply. I started to wonder whether or not the current field
    that I created had somehow been corrupted due to my fooling around so I
    deleted the field re-created it (and also randomly JavaScript debugger and
    deleted the code there) and now the current date appears in the text field.
    I wonder why Adobe doesn't simply allow the user to insert fields where the
    field is filled with either the current date or the current time instead of
    forcing the user to enter some JavaScript code. Not all users of Acrobat
    professional want to get that involved.
    Regards,
      Bill
    Bill McLachlan

  • XML Data in Text Field Issue

    LC ES 8.2.1.3
    I have a web service that outputs XML data and Designer calls the webservice and the XML data populates a text field.  This works fine.
    My problem is getting the data out of the text field to populate different fields in my form.  I have done many searches and have tried many different things but still can't get the data out.  I have made sure my form is dynamic xml.
    Here is the last thing I have tried:
    -------Begin Code -----------
    Placed in testData:Intialize and the connectionSet is placed in Page1:Initialize.
    var myXML = XMLData.parse(xmlData.rawValue, false);
    var subNames = XMLData.applyXPath(myXML, "//Subordinates/Subordinate/full_name");
    if (subNames == null) {
    //no data
    } else if (subNames.length == null) {
      //not array, just a single value
      topmostSubform.Page2.testData.addItem(subName.value);
      } else {
       for (var i = 0; i < subNames.length; i++) {
        topmostSubform.Page2.testData.addItem(subName.item(i).value);
    -------End Code -----------
    I have been working on this for 3 days and still can't get it to work.  The closest I have come is output in my testData text field that said "Object23485968".
    Thank you in advance for your help
    John

    I must be missing something somewhere becuause I couldn't get it to work.  Here is the xml that I am getting back when I invoke the CFC from within Workbench.  This data is assigned to an XML type varialbe called 'xmlOutput'.  I then create a data connection in my form to the service I created in Workbench and bind the return data to a text field (with multiple lines).  When I bind the data I have the option to choose "document" or "element".  Element doesn't return anything, unless I am doing something wrong, so I have to choose Document. 
    With the xmlOutput below I do get more than one subordinate returned.  I only showed one for simplicity.
    ------------Begin xmlOutput --------------  (Yes, I am getting all of these empty lines in my output)
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://livecycle" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <soapenv:Body>
          <ns1:getSubordinatesResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
             <getSubordinatesReturn xsi:type="xsd:string"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
    <subordinates>
        <subordinate>
            <cost_center_code>123456</cost_center_code>
            <cost_center_description>Business</cost_center_description>
            <department_code>99</department_code>
            <department_description>Information Technology</department_description>
            <department_head_emp_id>987654</department_head_emp_id>
            <employee_id>456789</employee_id>
            <first_name>John</first_name>
            <full_name>Public, John</full_name>
            <hourly_rate>5.350</hourly_rate>
            <job_code>PMBAPP</job_code>
            <job_title>Business</job_title>
            <last_name>Public</last_name>
            <lives_in_state>AK</lives_in_state>
            <location_code>ANCH</location_code>
            <location_description>Anchorage</location_description>
            <network_user_id>JPublic</network_user_id>
            <pay_group_code>KMH</pay_group_code>
            <rate_type_code>S</rate_type_code>
            <reports_to>789123</reports_to>
            <territory_code/>
            <tier>1</tier>
        </subordinate>
    </subordinates
    ------------End xmlOutput --------------  (Yes, I am getting all of these empty lines in my output)
    I am really at a loss on how to get this data into my form.
    Thanks,
    John

  • How to put cursor in a text field

    hi,
    I have a text field in my jsf page.By default I want to put the cursor into this text field.when a letter is entered into this text field,the data table below this text field must change depending upon the value entered into the text field.After this change also,the cursor must be in the same text field.
    how it is possible.
    when I entered any letter in this field,there is a call to the server.the cursor must be in that textfield after the call.

    Use DOM+JS.
    With element.focus() you can set the focus on the desired element.
    With the 'onkeypress' attribute you can execute some piece of Javascript on every key press, for example submitting the form or doing an AJAX request.

Maybe you are looking for