rawValue of several text fields

Using LiveCycle Designer ES3.

I have a form created that the user enters customer information, once entered this info I am trying to get a contract to fill on the next page.

What are the names of the 1 page text fields:

rsalutation

rfirstname

rlastname

Page 2:

Here's what I now that isn't currently do not fill any result:

this.rawValue = page1.rsalutation.rawvalue + '_' page1.rfirstname.rawvalue '_' + page1.rlastname.rawvalue;

I am very new to work with JavaScript, so please excuse me if I made an obvious error.  I tried about 20 different ways to write this script but nothing has worked.  Also, if that makes a difference with this calculation in the text field is autoexpanding by http://forms.stefcameron.com/samples/ExpandFitEntireValue.pdf.

Any help is greatly appreciated!

There is of course no problem. I think that your way to fields must be bad.

Could you insert a screenshot of your form?

Now I noticed that you forgot a '+' and your syntax is wrong (V instead of v by rawValue)

bad:

this.rawValue = page1.rsalutation.rawvalue + "_" page1.rfirstname.rawvalue + "_" page1.rlastname.rawvalue;

right (when your path is right)

this.rawValue = page1.rsalutation.rawValue + "_" + page1.rfirstname.rawValue + "_" + page1.rlastname.rawValue;

If the script does not work, please check the next.

In the menatime, try the following:

  1. NOT manually insert the path.
  2. Click with the cursor after this.rawValue = |
  3. Then click the STRG (CTRL) key and at the same time that the memorandums of understanding in the first field (rsalutation)
  4. The mouse will be a 'V' and insert the correct path.

Kind regards Mandy

Tags: Adobe LiveCycle

Similar Questions

  • Is it possible to display the dynamic value in the ToolTip? I tried: this.assist.toolTip.value = this.rawValue; for a text field 'property MouseEnter', but it does not display the current raw value. It displays a previous raw value of the field... Guilty

    Is it possible to display the dynamic value in the ToolTip?

    I tried:

    this.assist.toolTip.value = this.rawValue; for a text field on 'ownership' MouseEnter

    but it does not display the current raw value. It displays a previous raw value of the field...

    I wrote 'YYYY', but is not displaying on the first mouseEnter event

    Capture_1.JPG

    When I show event mouseEnter for the 2nd time it gives good value.

    Capture_2.JPG

    Now, I changed the "BBBB" value but the first mouseEnter event it displays the value previous i.e. "YYYY."

    Capture_3.JPG

    I found the solution. I wrote the script ("this.assist.toolTip.value = this.rawValue ;") on 'property MouseEnter' but the need to write the script to the "Output" of the field event. ")

    Thank you.

  • In order to create several text fields

    Can we create several text fields with actionscript 2, without creating a movieclip on the stage.

    When I type

    _root.createEmptyMovieClip ("myTextfield", 1);
    _root.myTextfield.createTextField("myText1",1,0,0,100,20);
    _root.myTextfield.myText1.text = "this is text ';

    _root.createEmptyMovieClip ("myTextfield", 1);
    _root.myTextfield.createTextField("myText2",1,0,0,100,20);
    _root.myTextfield.myText2.text = 'this is the text TWO. "

    It only displays the text 2 I don't know why

    I want to create 5 fields of text on the stage

    2 for entry

    1)

    _root.createTextField("myText1",1,0,0,100,20);
    myText1.text = "this is text ';

    _root... createTextField("myText2",2,0,0,100,20);
    myText2.text = 'this is the text TWO. "

    (2) in the text/tefields format that you add manually without the help of actionscript, you select the text/textfield ann using the properties panel.

  • Drop-down list data connection - several text fields-

    Hello to you all, guru out there. I'm new on Adobe LiveCycle, but I have some experience coding in other languages, but not of JavaScript and XML. Trying to get a user to select a client and then based on this selection, I want to return several address fields, a Contact name at the customer's location and a phone number. The data connection is an ODBC connection to our CRM software, and information are stored in a table. The user of the form will be our Service technicians, and the rest of the form will be a place to type notes about the service call. We just try to facilitate the choice of the customer for our Service technicians to rather than having to type all the information. I've searched the forums and the solutions that I keep coming across are values defined by the user in the drop-down list, I have not found an example that illustrates this with a data connection. I work from a return address field to a text field (using the command .rawValue), but I need to fill in some more information. Any guidance would be greatly appreciated.

    Thanking you in advance,

    SSCLadam

    THW way I did is to use two data connections. 1st one to fill the DDlist with a list of customers. In this one, I use simple bind to do the job. Then a 2nd connection that will extract the folder of figurines based on the selection of the DDlist. This requires the code a SQL DB to retrieve the appropriate record. To implement this data connection, I can use the provided column headers to bind columns in the fields in my form. Then when this data connection is open (I put to delayed opening) and it returns the file in question are bound fields get automagically populated!

    I've included a sample I created... .you won't have the Pb, but you can at least see what I did. The code is on the change event of the DDlist

    Hope that helps

    Paul

  • Validate several text fields

    That's what I'm trying to understand: IF the user selects '1' in the menu drop down AND this field there is empty, the attention of the user to fill out. Once completed, mail. IF the user selects '2' AND the ground there is empty, no one cares so mail anyway.


    That's what I have:

    }

    If (this.getField("Question_1").value is "1")

    If (this.getField("E-1").value == ") {}

    App.Alert ("Please fill this field");

    }

    of other this.mailDoc({)

    Everything works fine if "1" is selected, but if I select '2' nothing happens at all.

    Any suggestions?

    The code you posted was incomplete, but essentially, it must be something like that, if I understand:

    if (this.getField("Question 1").valueAsString=="1") {
        if (this.getField("E - 1").valueAsString== "")  {
            app.alert("Please fill out that field");
        }
    } else {
        this.mailDoc();
    }
    
  • Calculation of amount on several text fields does not?

    Hello! I apologize if this question was asked before. I looked through the forums for a few hours, but has not found an answer that has helped me.

    My problem: I do a calculation of the mileage form. It is supposed to add up everything in the line of mileage and put a total in the total box, in a different area, multiply total mileage of a specific quantity and display the result in dollars. I, however, am stuck on the first part of the calculation.

    What I did: I've created a form to an existing document. I went to the box, I wanted to show the number of miles and right-click on it in form editing mode. I clicked on 'Properties' and went to the tab 'calculate '. I clicked on the option of radio "value is the sum of the following fields." I then select the fields I want to be added. I have them labeled as follows: MILES_1, MILES_2, and so on up to the MILES_31. I chose MILES_1 through MILES_31. Then I clicked on 'Close' and saved the document. This editing in Adobe Acrobat Pro (trial version) works fine, but when I edit in the preview player or Mac, no calculations are made. I checked the order of computation of field, and the only field in the order is the total mileage. I'm not sure what I'm doing wrong or what else I should do.

    What I'm trying to do: I wish that all fields, MILES_1 thanks MILES_31 added together and the sum displayed in the total mileage and then this sum to be multiplied by a specific amount and display in another area.

    Apple saw the ruins of the PDF Forms. Never use it to open a PDF file with form

    fields.

    If it worked in Acrobat, it should work in Reader.

  • Insert several text fields to a database field

    I've seen before but can't seem to work when you have pieces of diferent separated in a phone number (area code - three digits - then the last three digits (XXX) XXX-XXXX) separated on your form. When the forn is inserted into your database, it has a population of a field instead of the three separate fields. Anyone know an article or has steps on how to do it.
    Database Access using ASP.

    You need to combine the field three in a variable and then insert the variable, put this code after the line that says MM_Insert or MM_Update and put the name of the variable in the sql insert. There is no error checking here you should also add that, something like isnumeric then

  • How can I combine 3 or more fields of text in a summary of editable text field?

    I am stuck and don't know where to start. I'm self-taught using Adobe LiveCycle and have found many answers here in the forums and by trial and error.

    I can't find or create the right java script or form calc to feed several text fields in a field.  My supervisor asked me to do it for the two sections of a form using Adobe LiveCycle Designer ES 8.2, I created.

    (1) merge all 3 user entered text fields to a user editable, summary, text field the end of the form.

    (2) merge all 24 entered by the user in the text fields to a user editable summary text field at the end of the form.

    Since they are all individual text fields in response to various questions, I can't use the overall liaison function. I don't want the summary text field to replace the individual text fields.

    Here's the java script I placed on the show: calculate * language: javascript Run: customer

    (1) PDStrengthWeaknessComments.rawValue + '_' + OCStrengthWeaknessComments.rawValue + + ' _' CEBAStrengthWeaknessComments.rawValue;

    Needless to say that these instructions do not work on my form. Someone with lots of experience or a degree in computer SCIENCE with kindness would help me?

    I suspect that you don't have the correct object references in the script.

    If 'PDStrengthWeaknessComments' is on another page, the script might look like:

    this.rawValue = page1.mySubform.PDStrengthWeaknessComments.rawValue +...

    If you select global assessment and click in the script editor. Then highlight the PDStrengthWeaknessComments object. Click on the script editor once again to make sure it is active. Press and hold down the control key and move the mouse over the object PDStrengthWeaknessComments. The mouse turns into a 'V '. Right-click the function key which is held on the PDStrengthWeaknessComments object. LC designer inserts the correct reference in the script for you.

    Finally, I would not use a sign less '-' in object names. It will be only to confuse LC Designer.

    Niall

  • How I set the value of a dynamic text field row

    I have a repeated line form that contains a button and several text fields.  There is a text field (input field) above with some information I want to place in the table and several buttons that I want to read the value of and defined on the table.  Excuse me there are several questions I have and I use pseudocode to describe.

    Top shape resembles

    InputField

    | ButtonX1 | ButtonY1 | DescriptionX1 (read the text only field)

    ...

    | ButtonXn | ButtonY1 | DescriptionXn

    OutputRow looks like

    | ButtonOutput | OutputField1 | OutputField2 | OutputField3 |

    So, I want to do

    ButtonX1.click

    {

    OutputTable.OutputRow.addInstance (true) //this works - everything I have questions on

    OutputTable.OutputRow.OutputField1.rawValue = DescriptionX1.rawValue

    /*

    Question 1

    How should I address the location of each table to set a value

    Question 2

    How can I get the value of the description field in the same row as button and table

    I would like to say something to the effect of the OutputTable.OutputRow [?]. OutputField1.rawValue = this.parent.DescriptionX

    */

    OutputTable.OutputRow.OutputField2 = InputField.rawValue

    /*

    Same question as above - how can I specify a dynamic line - it's the syntax appropriate for obtaining the value of the input field?

    */

    OutputTable.OutputRow.OutputField3 is this. ButtonLabel

    /*

    Question 3

    How can I get the value of the label of the button to set the field

    There should be a lot of these buttons and buttons will be added - I'd rather set the value based on the label of the button to facilitate value - not requiring only not to change the code

    */

    Issue 4--unrelated to those at the top.

    Is it possible to build the first table

    | ButtonX | ButtonY | Description |

    from a XML file.  I've seen examples showing how to build if it's just data, but XML can be pushed into a form with the code to perform the above actions?

    Glad you figured it out... nothing wrong with doing it this way.

    Normally XML contains data and no default legends these xml files are bouond to the rawValue property. You can enable the dynamic linking and other properties of the object will be bindable (they appear as links) in the user interface. If you click on the link to legend an Assistant appears allowing you to bind the node in the XML file.

    Paul

  • Text field - fill color

    I develop a form with a drop-down list and several text fields. Based on the user select on the drop down, other fields will change as mandatory or read-only

    To improve ease of use, I want to grey out those not required / only fields in reading.

    I'm doing it with the following script:

    this.resolveNode("textField1").fillColor = "195,195,195";

    However, legend and input area are gray out.

    Is there any script which will be gray on the box only?

    Hey Elvis Giff,

    Stefan cameron shared some good examples on this.

    http://Forms.stefcameron.com/2008/06/13/shading-the-caption-not-the-entire-field/

    http://Forms.stefcameron.com/2008/03/14/field-background-color-fill/

    Kind regards

    Rous

  • Why the Javascript that controls some new text fields does not immediately?

    I have created a form in Acrobat Pro XI.

    I've done several text fields asking for the room number. Other text fields create phrases based on these entries of room number. For example, if a user enters a room number in the text box "Room1", code for "TextBox1" is the following:

    var Numerobureau = getField("Room1").value;

    If (Numerobureau! = "") getField("TextBox1").value = "enter the area in square feet of room" + Numerobureau + "here:"

    else getField("TextBox1").value ="";

    I find that TextBox1 is not continually re-rendered as text changes "Room1". If I change the entry in Room1, TextBox1 remains unchanged for a while. After that I click on another box in my form and then get out again, the code Javascript in TextBox1 "catches up" and displays the correct text.

    I know that my code is correct, because FINALLY the text boxes behave correctly. Not must not all text fields be constantly recalculated at any time that a person interacts with the form?

    Also, check the order of calculation of field is correct.

  • Expand text fields, only when printing

    All,

    I have a dynamic form that includes several text fields for user input. These fields have a fixed height, however, allow multiple lines beyond the visible area. I don't want these fields to develop when you leave the field, but when the form is printed. The form is set up neatly on 7 pages, and I would that this still 7 when the user is working, however, I would like to expand to account for the extra text to print.

    How can I make sure when I print, expand the fields and the data flow on the next pages?

    Thank you!

    Aaron

    There may be a better way, but when I need to position elements in a past form I use rectangles set no border so that they are invisible and put where I need spaces.

  • Text field to avoid tab in the label

    Is there a way to avoid the tab in a label.
    I have several text fields with as 'necessary with Help' and the user would like to tab through the text field without having to tab out of the label.

    Is this possible.
    Using Apex 3.2.
    Thank you

    This can be controlled using the HTML tabindex attribute. See + {: identifier of the thread = 1246565} + for a previous discussion on this.

    Basically, tabindex should NOT be applied to the elements of the label . However, labels of the 'Necessary with help' type, help links should be accessible via the tab does not rely on the keyboard. In this case, I would say that the user will not and it makes sense that help link receive focus before the text element, so that aid on the issue can be viewed before entering a value. If they can be convinced, then set the tabindex property for items of text values and help links label sequenced so that items are available before the help links.

  • Hide borders around text fields?

    Hello

    My pdf form has several text fields with borders. One of the fields has a menu drop down click on calendar extension of time, and its border hidden when printing. The others all work with formcalc preprint event * as follows:

    ui.textEdit.border.edge.presence = 'hidden'

    any suggestions on how to remove the border from fields date?

    Thank you

    Daniel

    Sorry, I thought you wanted to dynamically change. Yes the drop-down list of appearance in the field tab assigns the borderStyle/fillStyle around the land itself - the border palette sets the borderStyle/fillStyle around the whole object (field AND legend).

  • How can I get several lines to be printed for a blank text field so that it can be filled by hand?

    I have to create forms that are to be completed by hand and by electronic means.  The problem that I am running provides several lines that will be printed for the people who are the form of fill by hand.  I tried to add an image of lines behind the text field, but these would have got in the way when the form has been completed electronically.

    I use LiveCycle Designer ES2 v. 9.0 on a Windows computer.

    Thank you.

    Ok.

    1. Take a textfield
    2. Navigate to the object. Allow multiple lines
    3. Go to the Layout | Height | activate "develop to adapt."
    4. Go to initialize or readyform event (you must change the _ for your textfield) this.rawValue = "___\n___\n___";
    5. Go to the event, enter - this.rawValue = null;
    6. Go to the exit event

    If (this.) RawValue is nothing)

    {

    this.rawValue = "___\n___\n___";

    } else {}

    With this solution you can simulate the same reason above.

    I hope it's useful for you,

    Mandy

Maybe you are looking for