Creating a modifiable form field

Hi,
I would like to create a modifiable form field that maps onto a directory server multi-valued field. This field should have the ability to add a value or remove a value as well as displaying the contents of the list. I've spent time reviewing the Workflows, Forms and Views (v8) document but it's not clear how to achieve this sort of field. Is it possible?
Regds
CK

The ListEditor component is what you are looking for.
Check out this code snippet directly from the documentation:
<Field name='accounts[Sim1].Group'>
  <Display class='ListEditor' action='true'>
    <Property name='listTitle' value='stuff'/>
    <Property name='allowTextEntry'>
      <Boolean>true</Boolean>
    </Property>
    <Property name='ordered'>
      <Boolean>true</Boolean>
    </Property>
  </Display>
  <Expansion>
     <ref>accounts[Sim1].Group</ref>
  </Expansion>
</Field>The important stuff in this case is the field name, in this case accounts[Sim1].Group. This means you are displaying/modifying the contents of an attribute "Group" on resource "Sim1". Change this to suit your needs.

Similar Messages

  • Modify form field value

    I have the PDF form with several fields. I want to set the value of one field depending on selection made by the user in other field. I am trying to use if statement but it does not work for me. I have copied below the script I am trying to use.
    form1.#pageSet[0].Page1.Table.Table3[0].Row1.Cell1::change - (JavaScript, client)
    if (oField.rawValue == "Service Alert")
       this.resolveNode("Cell4").rawValue = "A";
    else if (oField.rawValue == "Service Bulletin")
       this.resolveNode("Cell4").rawValue = "B";
    When user selects Service Alert in Cell1 I want the value of Cell4 to be set to A and if Service Bulletin is selected I want the value of Cell4 to be set to B.
    Can someone help me with the script. I have done a bit of searching and tested verious syntax but nothing did work. I hope someone will help me to have it working.
    Regards,
    Tony

    Thank you very much for your help, but it did not work for me. I have decided to reply and to send you the form. Could you please have a look on what I have done and try to fix it. I want to add action to Cell1 to modify Cell4 in row 1 of the form, top on the blue background.
    Regards,
    Tony Pluta
    Engineering Technical Coordinator / Graphics Designer, Engineering
    Rail
    Description: C:\Users\tony.pluta\AppData\Roaming\Microsoft\Signatures\UGLLimited.gif
    16 Broadmeadow Rd | Broadmeadow NSW 2292 | Australia
    Direct: +61 2 9492 1277  | Mobile: +61 403 399 167
    Fax: +61 2 9462 1383
    Email: [email protected]
    Web: www.ugllimited.com<http://www.ugllimited.com/>
    Please consider our environment footprint before printing this e-mail
    From: kvdvijaykumar [email protected]
    Sent: Wednesday, 29 May 2013 4:14 PM
    To: Tony Pluta
    Subject: modify form field value
    Re: modify form field value
    created by kvdvijaykumar<http://forums.adobe.com/people/kvdvijaykumar> in LiveCycle Designer - View the full discussion<http://forums.adobe.com/message/5360639#5360639

  • How we create dynamic add form field in web form

    How we create dynamic add form field in web form?

    Hi,
    Thanks for reply.
    I need to create a form in which "add more" input field dynamically. For
    example sometime we need field on or more. Please look at the demo, I need
    to create form as per demo in business catalyst:
    http://www.openjs.com/scripts/examples/addfield.php

  • Do you need to have Adobe Acrobat X or XI in order to use FormsCentral?  Can FormsCentral be used without Acrobat to create and modify forms?

    Do you need to have Adobe Acrobat X or XI in order to use FormsCentral?  Can FormsCentral be used without Acrobat to create and modify forms?

    Hi Joseph,
    Unfortunately, no. But Adobe does offer a free 30-day trial of Acrobat (absolutely no obligation). So, you could download the trial to fix up the form. For more information, see www.adobe.com/products/acrobat.html. Acrobat is also offered on a subscription basis.
    Sara

  • Overwrite "Created By" & "Modified By" field

    We have created a interface in website to upload the document via Sharepoint Copy service.
    We are facing issue for "Created By" & "Modified By" fields of sharepoint. When any user upload document we need to pass their website user name for Created By" & "Modified By" but right now its always taking
    sharepoint authenticated user name.
    So, our sharepoint service is configured with windows Admin login to access sharepoint, so all the document is uploaded as Administrator user instead of website username of the user.
    Please suggest me if we have any oition to overwrite these two fields.

    Please see my code for copy document and the field "ows_Author" is always saved as windows logged-in user.
      SharepointCopy.Copy copy = new SharepointCopy.Copy();
     SharepointCopy.CopyResult cResult1 = new SharepointCopy.CopyResult();
                SharepointCopy.CopyResult cResult2 = new SharepointCopy.CopyResult();
                SharepointCopy.CopyResult[] cResultArray = { cResult1, cResult2 };
                SharepointCopy.FieldInformation fieldInfo1 = new SharepointCopy.FieldInformation();
                SharepointCopy.FieldInformation fieldInfo2 = new SharepointCopy.FieldInformation();
                SharepointCopy.FieldInformation[] fieldInfoArray = { fieldInfo1, fieldInfo2 };
     fieldInfo1.InternalName = "ows_Author";
                        fieldInfo1.DisplayName = "Created By";
                        fieldInfo1.Type = SharepointCopy.FieldType.Text;
                        fieldInfo1.Value = "1;#" + Uploaded_By;
                        fieldInfo2.InternalName = "ows_Author";
                        fieldInfo2.Type = SharepointCopy.FieldType.Text;
                        fieldInfo2.Value = "1;#" + Uploaded_By;
                        SharepointCopy.FieldInformation[] fieldInfoArray1 = { fieldInfo1, fieldInfo2 };
                        uint copyResult = copy.CopyIntoItems(fileName, destinationUrl, fieldInfoArray1, fileContents, out cResultArray);

  • When creating a fillable form fields from an existing pdf file, how do you set or allow end user to set the font size in the fields?

    I successfully created a form filled pdf using an existing pdf document.  However, the font size is too large to allow end user to type in information in the form box.  Is there a way to 1)globally set all  of the form fields when generated to a much smaller font size &/or 2) allow end user to change the font size if needed to put all information in one box without font being so large?

    Hi DenisonDoc,
    There is no option right now to set properties globally primarily for Text fields. You may make sure fields doesn't contain anything.
    Select all the text filed from the form and right click any of the selected field make sure all of them are selected choose properties --> Appearance there you can choose Font Size and Font type.
    - End users cant change size and type of font. It is up to designer.
    Regards,
    Ajlan Huda.

  • Modify form field properties

    This question was posted in response to the following article: http://help.adobe.com/en_US/acrobat/pro/using/WS58a04a822e3e50102bd615109794195ff-7df8.w.h tml

    This is not easily scripted as yo need to provide the exact date pattern you want to use.
    You can run the following script through your JavaScript console in Acrobat,. You will need to modify the field names and date format as needed to meet your needs.
    // define an array of fields to change
    var aFields = new Array("Text1", "Text2", "Text3", "Textn");
    // define a character string for the date format
    var cDateFormat = "dd-mmm-yyyy";
    // define a field object to be used for setting the date format
    var oField;
    // loop through the field names and add the date format
    for(i = 0; i < aFields.length; i++) {
    // get the field object for i element in aFields
    oField = this.getField(aFields[i]);
    // set the date format
    oField.setAction("Format", AFDate_FormatEx( cDateFormat));
    // end loop field names - get next field name for processing
    The Acrobat JavaScript Console (Your best friend for developing Acrobat JavaScript)
    There are other tools and methods to make forms besides the form Wizard. Most of us avoid it for most forms.

  • How to create a New form field button.

    Hi there.
    I have this form that allows the admin and or client to change their Business details and on that form there is a field (text) that they can fill out their product detail and price. I wanted to have a button to create another form field (to do the exact samething) to allow them to add more products.
    Is this possible with CF?
    Thanks in advanced.

    Javascript is what you want to use.

  • How do I copy over "Created By" & "Modified By" field values to a new library, using PowerShell?

    I have a site that was migrated from SP 2007 to 2013, using a docave tool...this works fine and everything seems to be okay. However I now have to move documents from one Library to a new one, along with all associated metadata. I have a PowerShell script
    I am using to do this and it is working...for the most part...except for copying the authoring metadata. So when I run this PowerShell script, I get my "Created By" and "Modified By" fields updated with the "WindowsAccount" user
    account that performed the migration. This is what is confusing to me...after the migration, when I look at my Library, these fields are displayed correctly. Meaning I have documents that were created by John Smith, and modified by Jane Smith, showing up with
    the right metadata in the library after migration...but when I run my script to copy the documents to a new library, the output is not John Smith or Jane Smith but the "windowsAccount" user that performed the migration. Here is what my script looks
    like, in trying to get the right values to show.
    $sWeb = Get-SPWeb $SourceWebURL
    $sList = $sWeb.Lists | ? {$_.Title -eq $SourceLibraryTitle}
    $dWeb = Get-SPWeb $DestinationWebURL
    $dList = $dWeb.Lists | ? {$_.title -like $DestinationLibraryTitle}
    $AllFolders = $sList.Folders
    $RootFolder = $sList.RootFolder
    $RootItems = $RootFolder.files
    foreach($RootItem in $RootItems){
    $sBytes = $RootItem.OpenBinary()
    $dFile = $dList.RootFolder.Files.Add($RootItem.Name, $sBytes, $true)
    $AllFields = $RootItem.Item.Fields | ? {!($_.sealed)}
    $User = $sWeb.EnsureUser($RootItem.Author)
    $UserField = New-Object Microsoft.SharePoint.SPFieldUserValue($sWeb,$User.ID,$User.LoginName)
    write-host "User's Name: "$UserField.User.Name.ToString()
    Has anyone experienced something like this before? If so, what is causing this and how can I get my script to start displaying the right data for "Created By" and "Modified By"?
    Thanks,

    This is the expected behavior. Both "Created By" (internal name Author) and "Modified By" (internal name Editor) will be set to the user running the script. In order to update theses fields in the destination item with the values present
    in source item, the script needs to be modified. Read the values of these fields in source and update them in destination using SplistItem.SystemUpdate() method, like:
    $Author = $sWeb.EnsureUser($RootItem.Author) $Editor = $sWeb.EnsureUser($RootItem.Editor) $destinationItem["Author"] = $Author$destinationItem["Editor"] = $Editor$destinationItem.SytemUpdate()
    Blog | SharePoint Learnings CodePlex Tools |
    Export Version History To Excel |
    Autocomplete Lookup Field

  • Auto Create Filename from Form Fields

    Hello all,
    I am trying to find a way that I can save a form with a certain filename. I have the form create and all set to go. The user will be input some information into boxes. For instance I will have a Name box and a Date box. After the user is done filling out the form I would like the filename to be these two input boxes. Is there a way to do this? So basically I need to take these two form fields and have them be saved as the filename. Any help would be great. Thanks alot.

    You can export the data form the PDF using the FormDataIntegration service.
    Once you have the data in xml format, you can use a setValue and concatenate the value of the two nodes you're interested in.
    Jasmin

  • Creating a percentage form field?

    I have an element called SOACTIVITY_STATUS, the value of the element is part of a group by.
    I want to display three columns on my report. The first column is the total count of SOACTIVITY_STATUS rows. The second column is the total count of rows where the value is 'MIS' and the third column is the percentage of column2 / column1.
    I have defined column 1 as: <?count(current-group()/SOACTIVITY_STATUS)?>
    I have defined column 2 as: <?count(current-group()/SOACTIVITY_STATUS[.='MIS'])?>
    When I run the report I get a count of "7" for column 1 and "5" for column 2. How do I define column 3 so my result will be "71%" ?

    Hi
    <?( ( count(current-group()/SOACTIVITY_STATUS[.='MIS']) ) div ( count(current-group()/SOACTIVITY_STATUS) )  )* 100 ?> Will get you the 71, if you want the template to format the number with a % sig. then leave out the * 100 and assign the field numeric and set the format appropriately.
    Yep, you have to do the calulations over again - expensive. You could create a couple of variables to hold the values and divide those.
    So rather than your columns totals being as you have, you would have:
    <?variable: cnt1,'count(current-group()/SOACTIVITY_STATUS)'?>
    <?variable: cnt2,'count(current-group()/SOACTIVITY_STATUS[.='MIS'])'?>Then for your column values you would use
    1st Count     2nd count     Percentage
    <?$cnt1?>   <?$cnt2?>     <?$cnt2 div $cnt1?>     that will save some resources.
    Regards
    tim

  • Is there a way to create entry form/fields in Numbers.

    Can anyone let me know if there's a way to create an entry form/field in Numbers. The idea would be to have already created a list of contacts, then at an event on an iPad, people can check off if that person is there and also enter new contact info. Thanks in advance.

    Isnt this just a table? A list of people, with a check box field in the second column, followed by a few columns for contact info to be entered in?
    Jason

  • Why does Acrobat crash every time I try to organize form fields?

    I am working on an 18 page pdf that was created in InDesign. I am copying and pasting fields from an existing document to retain importability. Every time I drag a field to a new location in the field menu, Acrobat crashes. Any idea how to fix this? My software is up-to-date, and I am working on a Retina display MacBook Pro hooked up to a Thunderbolt display. I have had nothing but issues with Acrobat since upgrading to Creative Cloud. I know that there were issues a few months ago with Acrobat & the Retina display MBPs....does this have anything to do with that?

    As a test, try the following preferences:
    Acrobat > Preferences > Forms > Automatically adjust tab order when modifying fields [Deselect]
    and:
    Acrobat > Preferences > Forms > Show field preview when creating or editing form fields [Deselect]
    So deselect if either are selected. No guarantees, but it's something to try.

  • How do I cause a form field to raise its blur event?

    I have a web form that displays an editable pdf document.  When a user clicks a button the form will get validated.  If one of the fields being validated has the focus its value will not get updated when I need to do the validation.  For example, if I am validating the First Name field and I type text in it and then click on a button (from the web) to cause validation, the document says the field is invalid because there is no data.  If I hit tab on the field to focus a new field the validation works fine.  How can I cause the field to get updated?  I have tried to create an empty form field and focus to that first but that does not work.

    Nope, I have a button on the website that the user clicks to send a validation request.

  • 2 Bugs in PDF Form Field Rendering

    Both of these bugs appear when "Show border hover color for fields" is on.
    In XObject streams used for Text Widget Annotation appearences the BMC operator does not properly respect whitespace. To reproduce:
    Create a fillable form field with a text widget annotation.
    Fill in text in the field, save the document
    Edit the content stream of the appearance stream used for the widget so that there are two spaces between /Tx and BMC instead of 1.  Be sure to shorten the content stream by 1 byte (shorten a string by a byte or remove a leading 0 in a decimal) when making the change so as not to change offsets.  Save the file.
    Open the file in Acrobat and note the text doesn't appear.  Turn "Show border hover color for fields" off and the text appears.
    In XObject streams used fo all WidgetAnnotations, the general color operators, CS, cs, SC, and sc are not respected.
    Create a fillable form field that uses /DeviceGray SC 0 sc to set the text color (this can be done by create a text field and filling it with a lot of repeating non-white space characters and then replacing the 0 g with /DeviceGray 0 sc then shortening the text string to keep the stream length the same.  Save the file.
    When the file is opened in Acrobat, the field will appear blank until "Show border hover color for fields" is turned off.
    An example file is here.
    This file has several fields, two which are prefilled.  The first field contains filled in text but does not show (it appears when you turn off "Show border...").  The second is visible.
    By editing the raw data, the second field (object 13 0) can be changed to exhibit both bugs.  To exhibit the BMC bug, insert a second space between /Tx and BMC and remove a space elsewhere.  The exhibit the second bug (after restoring BMC), change both "0 g" and "1 g" with "/DeviceGray cs 1 sc" and "/DeviceGray cs 0 sc" respectively (there is enough blank spaces to do that).

    Bugs must be reported via the official route at http://www.adobe.com/go/wish
    Posts in these forums are not logged and are unlikely to receive any attention.

Maybe you are looking for