TextFields: saving user input as variable to populate other fields

Hi,
For a complex form project, I am first trying to create a basic "proof of concept" form: in the complex project, the user will enter data in several TextFields and depending on what is entered, this will make visible further TextFields to be completed or TextFields which will need to be populated with the data that the user enters.
But as a novice using Designer ES2, I need to see if I can first create some basic functionality in a "proof of concept" form. First: to be able to set up TextField1 on page 1 to capture the user's first name which can then be displayed in additional TextFields on pgaes 2-6 (for "proof of concept" purposes, it would be helpful to have the user's entered first name display in TextField2 on page 2). I've been stuck trying to get this to work, not sure what JavaScript will save the entered first name in TextField1 and then populate it into TextField2 on page 2? Which event to use to get it to show on page 2? (Can't use Binding to Global variables with TextFields having same Data Binding name in the more complex project, so need to try to achieve this by scripting only.)
Any help with this "proof of concept" scripting would be appreciated.
Regards,
saratogacoach

You always use the rawValue to assign a value to a field in the form. The field can be anywhere in the form (means any page).
The only thing you need to mention is the path of the field in the expression.
//For example you want to populate TextField2 in Subform2 inside Page2 with the data from TextField1 in Subform1 inside Page1. You can assign the same value to different fields in multiple pages.
Page2.Subform2.TextField2.rawValue = Page1.Subform1.TextField1.rawValue;
Page6.Subform6.TextField6.rawValue = Page1.Subform1.TextField1.rawValue;
Thanks
Srini

Similar Messages

  • User input formula variable with greater than/less than operators for KFG

    Hello all,
    I have used a formula in my query that is a difference of two key figures .For e.g:
    Difference = tax from system A  -  tax from system B.
    Now when the users run the report they should be prompted for the 'Difference' threshold for seeing the report say where difference is greater 100 or equal to 10 and so on.Currrently I have created a formula variable with 'user input' and created a 'condition' to display 'Difference' greater than the user entered value.
    However,it is required to have various selection options for setting the threshold of difference.For e.g User should be able to set say 'equal to'/'greater than/less than/not equal to operator for 'difference' in the initial selection screen of the report.
    With the current user-input formula variable I am not getting these 'greater than' etc operators.Any ideas on how to achieve this?

    Ya know, that's all well and good ... BUT ... WHAT IF you do want to sort text type columns with Greater Than and Less Than operatiors??
    SQL does it just Fine ... so WHY does APEX have the limit??? This is an Oracle BUG ... it SHOULD NOT limit the operators ... I realize "they" may be trying to be helpful with proper constraints to field searches ... but ... if SQL can do it, then ... no need for a limit.
    EG ...
    Show the records where
    the "Begin_Year-Wk" data is less than or equal to "2009-09" AND
    the "End_Year-Wk" data is greater than or equal to "2009-04"
    ... to give everything that was running in that 5 week period whether or not it starts within that time frame
    I can run this query perfectly fine via SQL ... but not in APEX ... unless I reconvert a lot of strings back to numbers, and for sorting / formatting / explain-to-user purposes, I really don't want them to be numbers.
    So ... there's gotta be a hidden tweak for operators somewhere ...

  • Adobe form not saving user-input data into saved pdf file

    Hi forumers,
    I'm a new abap developer and I'm tasked to create an interactive adobe form that will require the user to input data in the form.
    No data is passed and received from PDF, but PDF has to be u2018Fillableu2019. I am able to fill out the form but when I actually save the form, it will be saved as a blank form again. I've seen the relevance of the  LS_DOCPARAMS-FILLABLE = 'X' on this forum and I have incorporated it in my code. But how should I code the abap program to enable to save the user input as well into the form.
    DATA: GV_FMNAME TYPE FPNAME,
          LS_DOCPARAMS    TYPE SFPDOCPARAMS,
          LS_OUTPUTPARAMS TYPE SFPOUTPUTPARAMS.
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
      EXPORTING
        I_NAME                     = 'ZSC_ZRUFORREP'
    IMPORTING
       E_FUNCNAME                  = GV_FMNAME
    *   E_INTERFACE_TYPE           =
    *   EV_FUNCNAME_INBOUND        =
    CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
        IE_OUTPUTPARAMS       = LS_OUTPUTPARAMS
    EXCEPTIONS
       CANCEL                = 1
       USAGE_ERROR           = 2
       SYSTEM_ERROR          = 3
       INTERNAL_ERROR        = 4
       OTHERS                = 5
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LS_DOCPARAMS-FILLABLE = 'X'.
    LS_DOCPARAMS-DYNAMIC = 'X'.
    CALL FUNCTION GV_FMNAME
    EXPORTING
       /1BCDWB/DOCPARAMS        = LS_DOCPARAMS
    * IMPORTING
    *   /1BCDWB/FORMOUTPUT       =
    EXCEPTIONS
       USAGE_ERROR              = 1
       SYSTEM_ERROR             = 2
       INTERNAL_ERROR           = 3
       OTHERS                   = 4
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'FP_JOB_CLOSE'
    * IMPORTING
    *   E_RESULT             =
    EXCEPTIONS
       USAGE_ERROR          = 1
       SYSTEM_ERROR         = 2
       INTERNAL_ERROR       = 3
       OTHERS               = 4
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks,
    dgrachee

    Not quite yet, I have to say...
    If you check the domain "FPINTERACTIVE", you'll see these values:
                   Print Form
    X     Interactive Form with Additional Usage Rights
    N     Interactive Form Without Additional Usage Rights
    F                                                                
    So, you are not providing "additional usage rights" (Adobe Form Credentials), meaning there could be a problem when you want to use those forms in a Production environment.

  • Auto populate other fields bases on the first 2 fields

    Hello,
    I have a form that has 5 fields in which the first 3 fields are pre-populated from the 1st web service based on their user id and now I'd like to have the other 2 fields to pre-populate bases on that first 3 fields that execute from a 2nd web service but having issues on that. If I have it manually enter the input than it work but I could not make it work by auto pre-populate bases on the first fields that already pre-poulated. Can you please advise on this..
    Thanks in advance,
    Han Dao

    Hi Paul,
    I use Form:ready to trigger the 2nd WS as the same one for the 1st one. I use AWS_ASSIGNED_ID (hidden field) to control both of the WS. I am not sure that I understand you correctly about the two sets of input output execute bindings for those fields.  Can you please explain a little bit more.
    Thanks, Han

  • How do you use a drop down menu to populate other fields?

    I am creating a PDF that upon choosing from a list of People their address, phone, etc will automatically come in the remaining fields, or if a new person is choosen than you can add names address phone and it will save for future referrence ?
    Any help would be appreciated,
    THank you

    Thanks for your comment.
    Try doing this:
    Connect the form to a database and bind the fields in the form to the associated nodes in the data source so the data values automatically appear in the bound fields when a name is selected in the list.
    Add scripting to the list of names so the associated fields for address and phone number appear only when the user enters a new name and needs the other fields to enter new data.
    If that doesn't work, please provide more information about what you are trying to do. For example, here are a few questions to consider:
    Q. What object are you using for the list?
    Q. You say you want to be able to choose a person from a list of People, and their address, phone, etc automatically appears in the remaining fields address and phone number. What do you mean by etc. That is, exactly what objects are you planning to use for the other fields, and how many fields are there in total?
    Q. Is your form connected to a data base, which can supply the data values for the address and phone number fields.
    Q. What do you mean by 'a new person is chosen'. Normally the options on a list are pre-determined and added when you create the form. Do you want users to be able to add a new name to the list, and then enter that person's address and phone number in some adjacent fields?
    Have a look at these sections in the Help to gain a better understanding of what's involved:
     Working with Data Sources
    http://livedocs.adobe.com/livecycle/8.2/acrobat_designer/000844.htmlhttp://livedocs.adobe.com/livecycle/8.2/acrobat_designer/000844.html 
    Buildling actions in forms
    http://help.adobe.com/en_US/livecycle/9.0/designerHelp/000109.html#1627696 
    Thanks,
    Drew

  • After inserting into one field using LOV,  how to populate other fields ?

    Hi,
    I have a BLOCK based on a table (ex:EMP)
    And I have a LOV on the field(item): EMPNO.
    When I select one EMPNO from the LOV (when the field:EMPNO is populated with an emp number), the other fields should be populated
    Can some body let me know, which trigger I need to use and .......
    Thanks

    while creating LOV at empno you can this query
    select empno,ename,deptno from emp
    and define return item for each column.
    You can populate LOV manually at New_instance_item or Key_next_item
    of item empno.

  • BDC steps differ when inputing same record with different other field value

    CODEDATE--
    ETC...(there is of course other field)
    11----01.10.2007   (do process A C D)
    12----01.10.2007   (do process A C D)
    12----01.11.2007   (Having same code field so do process A B C D)
    13----01.11.2007   (do process A C D)
    14----01.10.2007   (do process A C D)
    15----01.11.2007   (do process A C D)
    15----01.12.2007   (Having same code field so do process A B C D)
    16----01.10.2007   (do process A C D)
    hi i am doing a BDC batch my input table a bit like above.
    first record will do process A C D
    second record will do process A C D
    thirt record will do process A B C D
    second record will do process A C D
    Any hint of how i can do that plzzzz .  Urgent helppp needed

    as per understanding,
    if code = 11 and date = 01.10.2007 then u need process A C and D  right.
    define 4 subrountine with A B C D logics.
    define one more subroutine with SR1 and SR2.
    inside SR1 call 3 subroutines A C D
    and SR2 call A B C D.
    if code = 11 and date = 01.10.2007 then
    call subroutine SR1,
    if if code = 12 and date = 01.11.2007 then call Subroutine SR2.
    if u have any issue, let me know the detailed requirement.

  • Saving user input for later use ! How ?

    Hi ! I wrote a simple program called GPA Calculator. In the program, the user chooses the lessons he takes and he enters his grades on those lessons and the computer calculates his GPA. It was a simple task to do thanks to swing class.
    But the problem is , since the user always choose the same lessons, I want to add a user control interface by which , a user can save his information by pushing a button which will be called "save"and when he runs the program again and after logginning by his username , his lessons are shown automatically by the program.
    I know a bit C++. And the only solution that popped into my mind is saving the data in a text file.And after he logins again , checking if there is such a user in the saved text file. In C++ there was a file processing method called random access files and i am planning to use it exists in java (i am gonna look for it).
    Since i am new to java and programming, I want to ask you naively if you advise me any other methods.
    Thanks for your help iin advance.
    (I hope now it is the right place to put this message :)

    i am trying to use a database system (and learning it)
    i downloaded derby. but everytime i am trying to run the program , i encounter this error. i am trying to use derby in embedded mode .
    java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at SimpleApp.go(SimpleApp.java:64)
         at SimpleApp.main(SimpleApp.java:48)
    i tried to solve the problem but i couldnt.can you pleease tell me what to do step by step ?
    thanks for your help ....

  • BEx User Exit on Variable to populate with YTD values.

    Hi All,
    I have a multiple selection option variable on 0CALDAY that I want to prepopulate with the YTD range.
    When the variable screen pops up it should display the range 01/01/2008 to 05/05/2008 (Current Date), however the user shall have the ability to change these populated values.
    Thanks.

    Hey thanks for the quick resposne. I was thinking of using the following code, but have the following questions, how do i know that the I_T_VAR_RANGE contains the current date that the report is on?
    WHEN 'ZCCYTDIN'.
        if i_step = 1.
          read table I_T_VAR_RANGE INTO LOC_VAR_RANGE
          with key VNAM = 'ZRPTDATE'.
          clear l_date1.
          clear l_date2.
          move LOC_VAR_RANGE-LOW to l_date1.
    Move First day of the year to low
          concatenate l_date1+0(4) '0101' into l_date2.
          L_S_RANGE-LOW = l_date2.
    Move Calendar day entered by user to high
          L_S_RANGE-HIGH = LOC_VAR_RANGE-low.
          L_S_RANGE-SIGN =  'I'.
          L_S_RANGE-OPT  =  'BT'.
          APPEND L_S_RANGE TO E_T_RANGE.
        endif.

  • Can Adobe Acrobat and/or Formscentral be used to individually collect and save user data? Can user data be used to populate other forms?

    I want to collect individual user data through my site and then use that data to subsequently populate PDF forms. Can Formscentral or Acrobat Pro do this?

    There's not a built-in feature in either for this. With both FormsCentral and Acrobat, you have access to the form data, which can be used to populate a different form using Acrobat, but this is a workflow that you would have to customize and would involve some manual steps.

  • How to have pop-up populate other field

    Hi--
    I'm trying to make a small simple form, and I want the user to be able to select say, an item from a popup menu, and have the price field fill in determined by what they select.
    Is there a way to do this?
    Thanks.

    Ok. I've added some javascript I found by googling the problem and made a new page which has the following code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title><script type="text/javascript">
    var colors = new Array();
    colors["apple"] = "red";
    colors["grape"] = "purple";
    colors["milk"] = "white";
    colors["cheese"] = "yellow";
    colors["chicken"] = "white";
    colors["beef"] = "red";
    var groups = new Array();
    groups["apple"] = "fruit";
    groups["grape"] = "fruit";
    groups["milk"] = "diary";
    groups["cheese"] = "diary";
    groups["chicken"] = "meat";
    groups["beef"] = "meat";
    function printColorAndGroup(){
      var value = document.getElementByName('food').options[document.getElementByName('food').selectedIndex].value;
      document.getElementByName('food_group').value = groups[text];
      document.getElementByName('food_color').value = colors[text];
    </script>
    </head>
    <body>
    Food:
    <select name="food" onchange="printColorAndGroup()">
      <option>apple</option>
      <option>grape</option>
      <option>milk</option>
      <option>cheese</option>
      <option>chicken</option>
      <option>beef</option>
    </select>
    Group:
    <input type="text" name="food_group">
    Color:
    <input type="text" name="food_color">
    </body>
    </html>
    But when I run this, nothing happens. I've also, btw, tried this with the script in the body.
    What am I doing wrong?
    Thanks.

  • Automatically populate other fields on screen while applying search help on

    Hi,
    There is some urgent requirement
    I have one screen in which 3 fields are there
    Functionality is like this when I apply search help for one field it will call a FM which populate a internal table in which value for all 3 fields will be there and it should be populated in all 3 fields.
    I am assigning proper value to all 3 fields in POV event but only one feild is getting populated on which I am applying search help.
    Anybody can sort this out.
    will be thankful to U.

    Hi..,
    just copy, paste and execute this code..
    Check this code..will be helpful for u..
    tables:mara,makt,mseg.
    parameters: p_bukrs type t001-bukrs,
    p_butxt type t001-butxt,
    p_ort01 type t001-ort01,
    p_land1 type t001-land1.
    data: dynfields type table of dynpread with header line.
    data: return type table of ddshretval with header line.
    at selection-screen on value-request for p_bukrs.
    call function 'F4IF_FIELD_VALUE_REQUEST'
    exporting
    tabname = 'T001'
    fieldname = 'BUKRS'
    dynpprog = sy-cprog
    dynpnr = sy-dynnr
    dynprofield = 'P_BUKRS'
    tables
    return_tab = return
    exceptions
    field_not_found = 1
    no_help_for_field = 2
    inconsistent_help = 3
    no_values_found = 4
    others = 5.
    refresh dynfields.
    read table return with key fieldname = 'P_BUKRS'.
    Add it back to the dynpro.
    dynfields-fieldname = return-retfield.
    dynfields-fieldvalue = return-fieldval.
    append dynfields.
    Get the company code from db and add to dynpro
    data: xt001 type t001.
    clear xt001.
    select single * into xt001
    from t001
    where bukrs = return-fieldval.
    dynfields-fieldname = 'P_BUTXT'.
    dynfields-fieldvalue = xt001-butxt.
    append dynfields.
    dynfields-fieldname = 'P_ORT01'.
    dynfields-fieldvalue = xt001-ort01.
    append dynfields.
    dynfields-fieldname = 'P_LAND1'.
    dynfields-fieldvalue = xt001-land1.
    append dynfields.
    Update the dynpro values.
    call function 'DYNP_VALUES_UPDATE'
    exporting
    dyname = sy-cprog
    dynumb = sy-dynnr
    tables
    dynpfields = dynfields
    exceptions
    others = 8.
    <b>
    plz do remember to close your thread, when ur problem is solvedd !! reward all helpful answers !!
    regards,
    sai ramesh</b>

  • Populate other fields when checkbox is activated....

    I have seen several threads in regards to copying the Billing Address to use as the shipping address through the use of scripting.  My project is to have a form the creates an quick invoice, in which the client clicks a check box for product(s)/services they would potential want.  When a check box is selected the "cost" will be displayed in another field.  So let's say:
    Product A = $300
    I want the form to display $300 in another box when the client puts a check in the box next to "Product A"
    Can anyone help a newbie?
    thanks

    You will have to add a custom JavaScript action to the "Mouse Up' action for the check box. This action will have to take into consideration the box being checked and unchecked. The Acrobat User's Community, http://www.acrobatusers.com/ , has a number of tutorials and eSeminars on demand that cover creating forms and JavaScript in forms.

  • Auto-populate form fields based on end user input?

    I'm currently attempting to create a new form that has a combo box "Locations" with various options.  What I'm looking to do is have another text field auto populate other fields related to that location (such as address, contact information) to save on time and reduce opportunity for end user errors in input.
    What are my options for accomplishing such a task?  Some form of binding fields with a MS database possibly?
    Thanks in advance for any advice and assistance on this matter!

    Paul,
    The form and (potential) database would be located on a shared drive on the company network in which those that would use the form already have access to.
    The pc's that user's would be using have Reader 9.
    The pc I'm using for developing this form has LC Designer 8, Acrobat Professional 8, and Reader 9.
    Ideally, I would "like" for the end user to have the ability to add new locations, addresses, etc ... in the event it is needed, although this would not be likely to come up.
    Based on the software I have on hand, and the need to not incur additional expenses, what would you suggest?
    Thanks again Paul!

  • Owb - Capturing user input classes

    Hi,
    I'm using OWB 9.2.0.3 and I'm looking at creating some OMB*Plus scripts to deploy (instead of using the GUI)
    I noticed in the sample code (on OTN) for OWB, some classes for "capturing user inputs" in OMB*Plus. I think that this would be a great addition to my scripts (instead of hard coding userid and password).
    How do I get this to work? What do I do with these classes? where to put them? and would you have any documentation on how to code this in OMB*Plus.
    Thank you very much.
    Guy LaBelle

    Guy,
    The description is missing... and I will submit this right away to be added. The link will be with the location of the downloadable file. Will be there within the next couple of days.
    Now, without the screenshots (hope this helps to some extend):
    The omb_params zip file contains classes for a generic modal dialog that can be used from OMBPlus for capturing user input. It will support parameters that are text or passwords. If you unzip this file into owb\bin\admin you can try the dialog from OMBPlus.
    The Java can be invoked by calling as follows;
    # java::new oracle.owb.samples.CaptureParams {
    # display_string_list display string for dialog ie. {"Hostname", "Port", "Service"}
    # param_name_list to query after dialog is complete ie. {"vhostname", "vport", "vservice"}
    # param_type_list STRING or STRINGHIDE or list of tokens (comma separated) for combo box
    # title_string_for_dialog Title for the dialog.
    # dialog_prompt_string Prompt string for dialog.
    or
    # java::new oracle.owb.samples.CaptureParams {
    # display_string_list display string for dialog
    # param_name_list to query after dialog is complete
    # param_type_list STRING or STRINGHIDE or list of tokens (comma separated) for combo box
    # title_string_for_dialog
    # dialog_prompt_string
    # ok_button_string
    # cancel_button_string
    or
    # java::new oracle.owb.samples.CaptureParams
    # title_string_for_dialog
    # dialog_prompt_string
    # ok_button_string
    # cancel_button_string
    There is a Java accessor methiod named 'okButton' that will return a boolean (in Java), the Tcl shell will return 0 for false, and 1 for true. This can be used to determine if the user has pressed the OK or cancel button. Since the user can define the text for these buttons, they can be used for Yes/No style questions for example.
    5.1 Example to capture user input;
    The following dialog can be created with the Tcl below;
    The Tcl to create this dialog is show below, this creates a modal dialog to capture the user input for username, password (in password field), connection string and an option selectable from a combo box;
    set pars [java::new {String[][]} 3 {{"User" "Password" "Connect" "Option"} {"user" "pass" "connect" "option"} {"STRING"
    "STRINGHIDE" "STRING" "thick,thin"}} ]
    set jtitle "OWB Migration"
    set jprompt "Please enter migration properties:"
    set paramList [java::new oracle.owb.samples.CaptureParams $pars $jtitle $jprompt]
    # To check whether OK or cancel is pressed used retrieve okButton/cancelButton on object, then check value (0 - false, 1 - true)
    set okpressed [$paramList okButton]
    # To retrieve the parameters invoke getValue passing the parameter name, the user is stord in a variable (for example);
    set userval [$paramList getValue "user"]
    set passval [$paramList getValue "pass"]
    set connectval [$paramList getValue "connect"]
    set optionval [$paramList getValue "option"]
    5.2 Example to create a question-style dialog;
    set paramList [java::new oracle.owb.samples.CaptureParams "OWB Dimensional Design" "Do you want to create a cube?" "Yes" "No"]
    Like the example above the 'okButton'/'cancelButton' methods can be used to query the button that was selected.
    Thanks,
    Mark.

Maybe you are looking for

  • Error while reading the ID of own business system from the SLD for system

    Hello, I try to send master material data from a 4.7 system via XI 3.0 to an autoID Infrastructure system 2.1. All Communication Channels, Receiver Agreements, Receiver and Interface Agreements are configured. The IDOC gets propper into the XI, Inbou

  • Lion Mail unable to find "excerpts"/"character subsets" of email addresses (worked in 10.6)

    Hi, I recently started using Lion and feel that Mail search has been downgraded.  In Snow Leopard, I could search for an "excerpt"/"character subset" of an email address, but this does not work in Lion, and when I called Apple Care about this issue,

  • MPEG files showing instead of MP3

    Hi All Newbie here so apologies if this is an easy one to fix. My iTune 10 is showing all my mp3s as MPEG which means I dont have a "convert to AAC" option when I right click the song? Is this some kind of bug or corruption?

  • TES 6.1 Released

    Do you have a Hadoop Project in your company. Cisco TES 6.1 adds a variety of new features (Hadoop Adaper, Amazon EC2/S3 Adapters, iPhone App, and a self service portal). Read about them here: http://blogs.cisco.com/datacenter/announcing-cisco-worklo

  • Dimensional modeling and year ago values

    Hi, I have been in this process for the last six months to model a warehouse to my client. I have a requirement where my client want to compare the data from one year to another year ( this is what generally warehouse is build for :) ). Biggest chall