Auto-filling proceeding fields from user's initial input - Possible? How?

Hi there,
I'm quite new to LiveCycle (and scripting). That being said, I'm trying to create some automation in forms for work.
I've been asked to create a product order form in which the Order Administrator would choose the product from a list of Product Codes. Once s/he chooses the Product Code [numeric field] from this list, the Product Description [text field] appears right next to it, and then the Product Price [numeric field] would populate the last field. I will duplicate this over multiple rows into a table, then autosum the last column which should be filled with various product prices, taxes, S&H, etc. (autosumming the Price field is easy enough - this is not my issue so let's just focus on the major concern of auto-filling descriptions and prices for now...)
For e.g.
Product Code
Description
Price
6759-85746-098 [Order Admin chooses from list]
Large textbook (x1) [Automatically inputs based on Product Code]
$30.00 [Auto-inputs from Product Code]
5864-98723-124  
Black pens (x10/set)
$5.25
I've tried for days to figure out how to script this, going through numerous forums, printing off reams of Adobe help documents, trying to learn Java and/or FormCalc in solitude, and yet I still can't figure this out. To explain, I'm not a coder/developer but a print-focused graphic designer.
If anyone knows how I can solve this I'd be very grateful. I'm now wondering if a) I need to somehow connect (bind?) the information in an external database or sheet (Excel?), b) figure out some elaborate script that would automate these descriptions and prices, and/or c) bang my head against the wall in fruitless frustration.
Thanks for any help anyone can offer.

A simple example.  May not meet your needs depending on the number of products.
Droplist named ProductCode
Text Fields named Description and Price
Java Script the droplist on the change event
if (xfa.event.newText=="5864-98723-124")
{Description.rawValue="Black Pens"
Price.rawValue="$5.25"

Similar Messages

  • Use Department field from user profile

    Hi,
    When user uploads a document - "Created By" takes its name automatically.
    We need the data of the department of the user also.
    I see that i can change the column to display any field from user profile in the "Created By" (user name / email/ department...).
    What should i do in order to use more than one field? (it's like set 2 "created by" columns to each doc - one to get the user name and one for department).
    It is for use department values in search.
    keren tsur

    Hi keren,
    According to your description, my understanding is that you want to get user name and department for the user who created the document.
    I recommend to get the department using the default Created By column and use workflow to get the user name from Created By column in a new column.
    Create a workflow associated with the library and set the workflow to start when an item is created.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Disable or Remove some field from User Profile in Personalize iView

    Hi All,
    I have a requirement  to Disable one field and Remove one field  from User Profile in Personalize iView.
    i want to disable Activate Accessibility Feature field and Remove Language field.
    How to archive this.
    Thanks and Regards
    Trilochan

    Hi,
    You can use [Personalization|http://help.sap.com/saphelp_nw70/helpdata/en/42/ed3ce7f8593eebe10000000a1553f7/frameset.htm] to do this :
    1. logon as an admin and navigate to Portal Content > Portal Users > Standard Portal Users and open Every User Core Role
    2. right click on User Profile and select edit
    3. click on the Preview button then right click + CTRL on the iView and personalize the User Profile iView
    That's it.
    Regards,
    Pierre

  • Auto Fill Shipping Address from Billing Address on a New Form in SharePoint 2013

    I have a new form on SharePoint that has a few fields:
    Billing Address 1 (Single Line of Text)
    Billing Address 2 (Single Line of Text)
    Billing Address City (Single Line of Text)
    Billing Address State (Drop Down Menu)
    Billing Address Zip (Single Line of Text)
    Shipping Address is the Same (Yes/No Check Box)
    Shipping Address 1 (Single Line of Text)
    Shipping Address 2 (Single Line of Text)
    Shipping Address City (Single Line of Text)
    Shipping Address State (Drop Down Menu)
    Shipping Address Zip (Single Line of Text)
    The object is that a user would fill in the Billing Address Fields, then click the "Shipping Address is the Same" check box and the Shipping Address Fields would auto fill with the Billing Address Fields.
    I've tried using a CEWP and editing the form file in SharePoint Designer 2013. I just don't know how to make this Dynamic auto fill work! Any help is greatly appreciated!!!!

    Use a custom web part
    Design the form controls and in "Shipping Address is the Same" check box check event or button click,
    copy the same data into a label form contains the same fields but in form of labels instead of textbox and dropdownlist.
    try this solution and let me know.
    Ahmed Said Moussa SharePoint Consultant

  • How to modify the "To:" auto fill address field

    I want to change and/or delete address's that auto fill in the "To:" field of mail.
    Is this possable?

    The Mail.app stores all message recipients in a list of Previous Recipients and the address autofill feature pulls from the Address Book and the list of Previous Recipients.
    At the Mail.app menu bar, go to Window and select Previous Recipients.
    A previous recipient already entered in the Address Book will have a vCard icon to the left of the name or email address. You can remove a previous recipient from the list or add a previous recipient to the Address Book that is not already entered.

  • Filling Activity fields from the Interactive Script WinClient

    Hi Experts,
    I am working with Interactive Scripting (CRMM_TM_SCRIPT) and I already defined my interactive script. I am also creating Activities after I finish with the Script in order to register a case. I am doing this by defining an Action Type CIC-AB which calls an Action Box in the Interaction Center WinClient. In the Action field I define the name of the Activity I want to call from the Action Box of the Interaction Center.
    When the Agent receives a call, he navigates in the Interactive Script in order to clasify the case he is treating. At the end of the Script, the case needs to be register following the clasification made by the Agent, and that’s why we are calling an Activity. The thing is that we don’t want the Agent to fill again the information he just defined in the Script in the Activiy, so we want to fill certain fields of the Activiy I am calling with Information of the Interactive Script I used before, in order to save time to the Agent that Register the Case.
    Can anyome shed some light on this issue?
    Thanks to everyone.

    Alberto
    You can create an activity.i.e., you can create an Order from the Interactive Script if you already created the Script structurethen follow the below steps
    I think it would be helpful
    Procedure: 
    T-Code:  EWFC0
    Path: SPROIMGCustomer Relationship ManagementCustomer Interaction CenterVisible ComponentsAction Box SettingsDefine Configuration Profile for Action Box.
    1. Choose F4 help to select one of the Action Box profiles you have created and you want to adapt and choose change.
    2. Mark the Action box Configuration and create a new Action Box Group by choosing Create transaction group.
    Enter a group ID, description and icon for the new transaction group and choose Continue.
    3. Mark the new transaction group and create a new Action Box transaction by choosing Create transaction.
    4. Enter a transaction ID.
    5. Enter a Transaction Definition section, select Workspace.
    6. In the Transaction Definition section, select Workspace.
    Two additional fields will appear.
    7 Choose F4 in the Workspace field to select the Script.
    8. Choose F4 in the profile field to select the Interactive Scripting profile that you created in the previous steps above.
    9. Enter a Slot Name if desired.
    10. Choose Continue.
    You are automatically taken to the Maintain Data Flow screen .No data flow parameters need to be maintained for the Interactive Scripting workspace.
    11. Choose Back.
    12 Choose Save.
    Note:  Since Only Workspace of this type can be open at once, you will need to close the Automatically Created Interactive Scripting Workspace before launching the Interactive Scripting Action Box call.
    Regards
    Surendra

  • Auto-Detect Form Fields from Word 2007

    LiveCycle 8.x fails to detect form fields from form documents I've created in Word 2007. I also notice that Word 2007 documents saved as Word 2003 documents do not convert the text fields either (text fields static).
    Is LiveCycle 8.x compatible with Office 2007 or does it depend on the conversion from 2007 (.docx format) to 2003 (.doc format) before creating the PDF then detecting and placing the fields?

    I could tell it not to run in Acrobat 9 but can’t figure out how to do that in version 11. When I use the Create Form command, I get a series of windows that guide me through the process of creating the form. Unlike Acrobat 9, none of those windows includes an option for not running auto detect. At the end of the process, the form is created with fields. The only solution seems to be to let Acrobat create the fields, and then delete them all and manually create the fields I want. Thanks for your feedback.

  • Pdf forms auto fill time field

    I need to have the time field auto fill with the current time when creating a new form.  I have looked hard but I just keep finding information on the date field.
    I appreciate any assistance - using adobe xi

    Each area where you can enter data into a PDF form in the normal view or non-Form Editing view is a field object. Each one of these fields has a name to identify that area or object form other form fields. If the names are the same the fields then those specific fields share many of the same values, the most important is the value of the field.
    This is an issue that needs to be addressed by the form's creator.

  • Cannot hide 'Choose your settings' field from User Profile Edit Page

    When ever I change the 'Choose your settings' property to not be displayed on users' edit profile page, all of the users' My Site edit profile pages display an error, 'Sorry, something went wrong'.  The log file shows the following entries.
    ProfileUI: Unhandled exception inside DisableReadOnlyRegionalControls: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.SharePoint.Portal.WebControls.ProfileUI.DisableReadOnlyRegionalControls() 
    ProfileUI: Unhandled exception inside LoadProfileTable: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.SharePoint.Portal.WebControls.ProfileUI.DisableReadOnlyRegionalControls()    
    at Microsoft.SharePoint.Portal.WebControls.ProfileUI.LoadProfileTable() 
    ProfileUI: Unhandled exception inside LoadControl: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.SharePoint.Portal.WebControls.ProfileUI.DisableReadOnlyRegionalControls()    
    at Microsoft.SharePoint.Portal.WebControls.ProfileUI.LoadProfileTable()     at Microsoft.SharePoint.Portal.WebControls.ProfileUI.LoadControl(Object sender, EventArgs e) 
    Application error when access /_layouts/15/EditProfile.aspx, Error=Object reference not set to an instance of an object.   at Microsoft.SharePoint.Portal.WebControls.ProfileUI.DisableReadOnlyRegionalControls()     at Microsoft.SharePoint.Portal.WebControls.ProfileUI.LoadProfileTable()    
    at Microsoft.SharePoint.Portal.WebControls.ProfileUI.LoadControl(Object sender, EventArgs e)     at System.EventHandler.Invoke(Object sender, EventArgs e)     at System.Web.UI.Control.LoadRecursive()    
    at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()    
    at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequest... 
    I've encountered this on 3 different SharePoint 2013 farms, and it also works correctly on another.  I can't figure out why or what the differences are.
    We want to be able to hide the vast majority or fields from the user edit profile page and only show a handful of them, e.g. Name, Department, Job Title, Office and Mobile.
    Anyone else seen this or have a solution?
    Matt

    I was successfully able to hide it on an SP1 farm. Have you tried SP1 yet?
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Need filled form back from user not just data-How?

    I created a static form in LiveCycle.  I want the PDF form back with the data filled in (not just the data) when the user completes the form. How do I do this?

    You need to put a submit button on your form. Then in the submit tab choose the Submit As option to be PDF instead of XDP data file.
    Then you will have to Reader Extend the form to allow for a local save. You can do this in Acrobat under the Advanced/Extend Features in Adobe Reader menu option. Once this is done save the file and distribute the saved version.
    Paul

  • Auto filling the fields using refcursor Procedure

    Dear All,
    I have requirement where user enters the Order No and press enter or tab others fields must get filled automatically. I have written procedure where its returns a record set. I want to call that procedure's output.
    How can I do this?
    Thanks in Advance

    Hi VC, Thanks alot again! THe link was really helpfull but I can i fetch result from procedure? if so how can I do that? and another issue for temprorily im fetching from a table. it worked but the values as already filled on page load it self, even if i change my field others are not changing? where am i going wrong? pls correct me!
    and following are my dynamic action property
    Event: Change
    Selection Type: Item(s)
    Item(s): P1_Order_No
    Condition: is not null
    True Action
    Action: Execute PL/SQL Code
    Fire On Page Load: Ticked
    Stop Execution On Error: Ticked
    PL/SQL Code:
    BEGIN
    SELECT
    Customer_Name,
    Order_Date,
    Deliver_Address,
    INTO :P1_CUSTOMER_NAME, :P1_ORDER_DATE, :P1_DELIVERY_ADDRESS
    FROM SALES_ORDERS
    WHERE ORDER_NO = :P1_ORDER_NO;
    EXCEPTION WHEN OTHERS THEN
    NULL;
    END;
    Page Item to Submit: P1_ORDER_NO
    Page Item to Return: P1_CUSTOMER_NAME, P1_ORDER_DATE, P1_DELIVERY_ADDRESS
    Suppress Change Event: No

  • Javascript to fill text field from other PDF form

    I am trying to figure out if it is possible to add javascript to a text field that when initiated pulls text from another field in a closed pdf in the same directory.
    For example I have a NAME field in the pdf form I am working in....
    When I initiate the script the NAME field is filled in with the same data from another PDF that is closed.

    I have looked up the 'disclosed' property and it looks like that is what I want to do..
    I have "this.disclosed = true" in a PDF with the name field. On the other PDF that I want the information replicated I am going to add a javascript to an action somewhere on the document, my problem is which script do I use to get this data from the other pdf?  Is the pdf that is now accessible via javascript (disclosed) a data object?

  • Auto-populating Infopath fields from a Sharepoint list after selecting a drop down

    I currently have two lists one titled 'Book of Work' which holds details around on-going projects and the other titled 'Book of Work Amendments' which are requests submitted by users to change project details (through an infopath form).
    There is a column in the BoW Amendments list entitled 'Select Project' which has a lookup to 'Project Name' in the BoW list. The aim is that when a user chooses an option from the 'Select Project' drop-down, other fields in the form such as 'Project Manager',
    'Project Description' will be automatically populated with data from that row in the BoW table.
    I have connected both Sharepoint Lists as data connections with BoW Amendments being the primary and BoW the secondary. If we take the Project Manager field as an example the method I have attempted is as follows:
    . Create a rule with condition Select Project is not blank
    . Action - Set a field's value: Field: Project Manager (BoW Amendments - Primary) Value:
    Project Manager (BoW - Secondary) Add Filter: Project_Name (BoW - Secondary) =
    Select Project (BoW - Primary)
    Currently this is not populating the field when the project is selected in the drop down, any assistance would be greatly appreciated.

    Hi Josh,
    This should be straight forward. You do not need BOW Amend data connection. You are creating requests in this list so this will be your Main Data Connection.
    When creating the rule on the drop down, select Action:
    Condition: anytime the value changes, Set a field's value - Project Manager (Main); Value - Project Manager(BOW) where Project[BOW] = Project [Main]
    Hope it helps.
    Regards, Kapil ***Please mark answer as Helpful or Answered after consideration***

  • How to create an auto-filled in field within a database ?

    Hello,
    I look for a way to get a database field automatically filled in when adding a new record with a generated value:
    The value of this field should consist of the actual date, a random alphanumerical or numerical string of five digits and some fix characters.
    For example: 20060618-19771-test
    "20060618" is the actual date in the format YYYYMMDD.
    "19771" is the randomly generated numerical string (alternatively alphanumerical).
    The two "-" and the string "test" are fix.
    Does anyone have an idea how to realize this ?
    Thank you for all your assistance.
    With kind regards,
    Tobias Eichner.

    Hi Tobias,
    A much more useful post than the previous one liner.
    The first problem you mention is the most difficult to get around using an entirely AppleWorks solution. AppleWorks does recalculate the whole database whenever a field definition is revised. The result of any calculation depending on the RAND() or NOW() functions Both Gunnar's and Francesco's solutions run into this problem as both use RAND() to generate the random number part of the field's value.
    Yvan tackles this problem by calculating the value outside AppleWorks, using an AppleScript. This looks promising, but on running the script, I've noted a couple of problems (an error message when there's a single record in the DB; non-filling of the 'autofilled' field), and will drop a note to Yvan about these.
    The most interesting (because easiest to implement)
    one unfortunately depends upon the date formatting
    set in the software which is different from the
    desired field value.
    My assumption here is that you're referring to Francesco's solution. The formatting problem (order of yyyymmdd and removal of the separators) is addressed in Gunnar's solution (which is essentially the same as Francesco's). See below for some revisions to address the recalculation problem.
    And the first solution appears a bit too complicated
    for me (sorry, I'm not a programmer, I tried to copy
    it but failed).
    The AppleScript solution is difficult to generate, but once written (by Yvan and/or others—you'll have only minor editing to do) and saved (by you) is simple to use (requires only selecting a menu item to create a new record with the field already filled).
    If you can assist me, please let me know. Otherwise
    don't mind, either I have to switch to a different
    product (AW appears outdated in many ways) or
    generate these field values manually as I currently
    do (simplest solution but works
    Switching to a different product is certainly a possibility, and it's true that AppleWorks is old software and that it is unlikely to ever be updated in future.
    Revisions to Gunnar and Francesco's solutions:
    As mentioned previously, the primary problem with these was instability of the value due to recalculation of the RAND() value in the formula. In the revised version below, a pseudo-random value is obtained by converting the time-of-day when the record was created to a text string, then selecting the final five characters in that string.
    YEAR('Date')&RIGHT("00"&MONTH('Date'),2)&DAY('Date')&"-"&RIGHT('Time',5)&"-test"
    The solution requires creation of two additional fields:
    'Date' Type: Date, Options: "Insert current Date"
    'Time' Type: Time, Options: "Insert current Time"
    (The first is the same as Gunnar's 'helpfield1'.) Neither field has to be included in any layout; they exist only to provide data for the 'Autofill' field.
    Advantages:
    •The Date and Time fields are stable; once filled their values will not change. Consequently, the calculations depending (only) on the values in these fields will also be stable.
    Disadvantages:
    •The value in 'Time' is the fraction of the current day that has passed when the field is created. At certain specific times of day, this fraction, expressed as a decimal, will have fewer that 5 digits after the decimal (Example: at exactly 12:00 noon, the fraction is 0.5). That may lead to an error or to the center portion of the 'Autofill' data taking the form "-.5075-".
    This will likely be a minor annoyance. Such a record may simply be deleted before entering any other data, and a new record created. Or the formula could be revised to strip the intial two characters ("0.") from the string, append the remainder to a string of five zeros, then take the final five characters of the result.
    •The formula should be fine for NEW records. But for records already in existence when the formula and the two supporting fields are created, the Date and Time will be the date and time of creation of those fields. That will lead to a distinct lack of 'randomness' in the 'random' number part of the fields' value.
    The solution, if necessary, is to add an IF() function to the formula that copies the value from the existing field if that field has been filled in, and generates the value if the existing field is empty (as it would be for a new record). The existing field should be removed from all layouts to prevent its being filled in new records, but should NOT be deleted from the DB in order to preserve existing data.
    Revised formula (has not been tested) ('oldfield' is the field that holds the data in existing records):
    IF(LEN('oldfield')>0,'oldfield',YEAR('Date')&RIGHT("00"&MONTH('Date'),2)&DAY('Da te')&"-"&RIGHT('Time',5)&"-test")
    Regards,
    Barry

  • Automatically fill in field from first letter of another field

    Hi,
    I have a situation where i would like to fill in a field automatically, dependant on the first letter entered in another field.
    Here's some examples:
    1. Field one - A6805B  Field two - 'UHF' (As A = UHF)
    2. Field one - E1234C  Feild two - 'VHF' (As E = VHF)
    3. Field one - S5673D  Field two - 'Error - No Frequency' (As S doesn't have an equivalent)
    Can anyone help?
    Cheers
    Rob

    Hi Rob,
    You can do this by assigning the first letter to a variable and then testing that variable.
    A sample is here: https://acrobat.com/#d=OoLUPLu1Qy1*8Uxz7*hG6Q
    Hope that helps,
    Niall

Maybe you are looking for

  • How do I locate an object in a query?

    Hello, I just completed this huge query and when I performed a check I got a message that “80000 is note in the hierarchy Hier1 for the InfoObject ZTAQ” Both the hierarchy and infoobject have been used repeated in the query. What is the easiest way t

  • Future with SAP

    Hi, I am exploring the option to build my carrier in SAP analyst/consultant field. I have more than 5 years of experience of sales and business management in automotive industry. At the same time I have worked on or used SAP as a business user for th

  • Channel.Call.Failed

    Hi All,      We are using Flex 3 and BlazeDS in my project. I am getting following error when user performs some backend calls. After some time we are not getting any error for the same backend call. It is happening very randomly fault = (mx.rpc::Fau

  • Different sequence for Bridge-hosted and PS-hosted ACR files?

    I have four cr2 files in a folder thumbnails displayed in Bridge Content sorted by date created in the following sequence: 1276_1, 1246_2, 1276_3, 1246_4.  When I select all four and open in Bridge-hosted ACR they appear in the ACR filmstrip in that

  • Problems with LiveCycle and Adobe Reader x

    I recently had Adobe Reader X installed on my computer, and now when I use the Preview tab in LiveCycle the form opens in Reader X. I would like the form to open in Acrobat 9 Pro as it did before. How do I change that? Regards, Kirstine