CAML query to return multi-user field from a Sharepoint list

I have a list in SharePoint that contains a field of type Multi-User which can contain 1 to many user names. I'm having trouble returning a string containing anything when more then 1 user is selected in the field.  Can someone point me in the right
direction?

You can't query on a Mutli-user field using a "contains" filter - using the GUI. 
However, you can change the CAML for the query using SharePoint Designer.
E.g. In my view, I want to return a list of documents where the Contributor field (a multi-user field) contains the user "Warner".
In the GUI, I create the view, but I'm not allowed to use the filter "Contains", so I use "Equals" instead. Of this won't work unless the only user is "Warner". So I open SharePoint Designer, and I change the query used on that view from Eq to Contains.
Original query:
<View Name="{D0E65C04-0A53-4C26-9004-68B3CFF1F11A}" MobileView="TRUE" Type="HTML" DisplayName="Warners Documents" Url="/Shared Documents/Forms/Warners Documents.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/15/images/dlicon.png?rev=23" >
<Query>
<Where>
<Eq>
<FieldRef Name="Contributors"/>
<Value Type="Text">Warner</Value>
</Eq>
</Where>
</Query>
<ViewFields>
<FieldRef Name="DocIcon"/>
<FieldRef Name="LinkFilename"/>
<FieldRef Name="Modified"/>
<FieldRef Name="Editor"/>
<FieldRef Name="Contributors"/>
</ViewFields>
<RowLimit Paged="TRUE">30</RowLimit>
<Aggregations Value="Off"/>
<JSLink>clienttemplates.js</JSLink>
<XslLink Default="TRUE">main.xsl</XslLink>
<Toolbar Type="Standard"/>
</View>
New Query:
<View Name="{D0E65C04-0A53-4C26-9004-68B3CFF1F11A}" MobileView="TRUE" Type="HTML" DisplayName="Warners Documents" Url="/Shared Documents/Forms/Warners Documents.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/15/images/dlicon.png?rev=23" >
<Query>
<Where>
<Contains>
<FieldRef Name="Contributors"/>
<Value Type="Text">Warner</Value>
</Contains>
</Where>
</Query>
<ViewFields>
<FieldRef Name="DocIcon"/>
<FieldRef Name="LinkFilename"/>
<FieldRef Name="Modified"/>
<FieldRef Name="Editor"/>
<FieldRef Name="Contributors"/>
</ViewFields>
<RowLimit Paged="TRUE">30</RowLimit>
<Aggregations Value="Off"/>
<JSLink>clienttemplates.js</JSLink>
<XslLink Default="TRUE">main.xsl</XslLink>
<Toolbar Type="Standard"/>
</View>
This now works.
However, the SharePoint team probably put this restriction in place for a reason. Possibly a performance related reason, due to the query performed on the SQL server, so use this method with caution.
Regards, Matthew
MCPD | MCITP
My Blog
View
Matthew Yarlett's profile
See my webpart on the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here:
Upload and Crop User Profile Photos

Similar Messages

  • 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 add users from person or group field in a sharepoint list to sharepoint group

    Hi,
    How to add users(single or multiple) from person or group field in a sharepoint list to sharepoint group programmatically?
    Any suggestions would be appreciated.
    Thank you,
    AA.

    Hello,
    Use SPGroup.AddUser() method to add user in group. I have just written sample code in notepad so it is not tested:
    SPSecurity.RunWithElevatedPrivileges(delegate()
    using(SPSite Site = new SPSite(SPContext.Current.Site.Url))
    Using(SPWeb Web = Site.OpenWeb())
    SPList list = web.Lists["ListName"];
    SPQuery query=new SPQuery ();
    query.Query = "<Where><Eq><FieldRef Name='Title' /><Value Type='Text'>Test</Value></Eq></Where>";
    SPListItemCollection items = list.GetItems(query);
    if(items.Count > 0)
    foreach(SPListItem item in items)
    //Get USers from person or group column
    SPFieldUser userField = (SPFieldUser)item.Fields.GetField("Users");
    SPFieldUserValueCollection userFieldValueCollection = (SPFieldUserValueCollection)userField.GetFieldValue(item["Users"].ToString());
    SPGroup spGroup = spSite.RootWeb.Groups[groupName];//group name
    if (users.Count != 0)
    bool isUserInGroup = false;
    foreach (SPFieldUserValue user in users)
    foreach (SPUser item in spGroup.Users)
    string itemUserName = item.LoginName;
    string UserName = user.User.LoginName;
    if (itemUserName == UserName)
    isUserInGroup = true;
    break;
    if (!isUserInGroup)
    spGroup.AddUser(user.User);
    The above code will query list item and then get users from "Users" column. Now it will check whetehr user is already in group not, if not then add user in group.
    http://rajanijilla.blogspot.sg/2012/09/add-users-to-group-programmatically.html
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Set "peoples or groups" field with current user "login name" in sharepoint list form using javascript

    hi friends
    i am trying to set peoples or groups field in sharepoint  list form with current user login name
    here my code
    <script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.js"></script>
    <script type="text/javascript">
    $(document).ready(function NewItemView () {
    var currentUser;
        if (SP.ClientContext != null) {
          SP.SOD.executeOrDelayUntilScriptLoaded(getCurrentUser, 'SP.js');
        else {
          SP.SOD.executeFunc('sp.js', null, getCurrentUser);
        function getCurrentUser() {
          var context = new SP.ClientContext.get_current();
          var web = context.get_web();
          currentUser = web.get_currentUser();
          context.load(currentUser);
          context.executeQueryAsync(onSuccessMethod, onRequestFail);
        function onSuccessMethod(sender, args) {
          var account = currentUser.get_loginName();
          var accountEmail = currentUser.get_email();
          var currentUserAccount = account.substring(account.indexOf("|") + 1);
        SetAndResolvePeoplePicker("requester",account);
    // This function runs if the executeQueryAsync call fails.
        function onRequestFail(sender, args) {
          alert('request failed' + args.get_message() + '\n' + args.get_stackTrace());
     function SetAndResolvePeoplePicker(fieldName, userAccountName) {
       var controlName = fieldName;
        var peoplePickerDiv = $("[id$='ClientPeoplePicker'][title='" + controlName + "']");
        var peoplePickerEditor = peoplePickerDiv.find("[title='" + controlName + "']");
        var spPeoplePicker = SPClientPeoplePicker.SPClientPeoplePickerDict[peoplePickerDiv[0].id];
        peoplePickerEditor.val(userAccountName);
        spPeoplePicker.AddUnresolvedUserFromEditor(true);
    </script>
    but it is not working
    please help me

    Hi,
    According to your post, my understanding is that you wanted to set "peoples or groups" field with current user "login name" in SharePoint list form using JavaScript.
    To set "peoples or groups" field with current user "login name”,  you can use the below code:
    <script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.js"></script>
    <script type="text/javascript">
    function SetPickerValue(pickerid, key, dispval) {
    var xml = '<Entities Append="False" Error="" Separator=";" MaxHeight="3">';
    xml = xml + PreparePickerEntityXml(key, dispval);
    xml = xml + '</Entities>';
    EntityEditorCallback(xml, pickerid, true);
    function PreparePickerEntityXml(key, dispval) {
    return '<Entity Key="' + key + '" DisplayText="' + dispval + '" IsResolved="True" Description="' + key + '"><MultipleMatches /></Entity>';
    function GetCurrentUserAndInsertIntoUserField() {
    var context = new SP.ClientContext.get_current();
    var web = context.get_web();
    this._currentUser = web.get_currentUser();
    context.load(this._currentUser);
    context.executeQueryAsync(Function.createDelegate(this, this.onSuccess),
    Function.createDelegate(this, this.onFailure));
    function onSuccess(sender, args) {
    SetPickerValue('ctl00_m_g_99f3303a_dffa_4436_8bfa_3511d9ffddc0_ctl00_ctl05_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_UserField', this._currentUser.get_loginName(),
    this._currentUser.get_title());
    function onFaiure(sender, args) {
    alert(args.get_message() + ' ' + args.get_stackTrace());
    ExecuteOrDelayUntilScriptLoaded(GetCurrentUserAndInsertIntoUserField, "sp.js");
    </script>
    More information:
    http://alexeybbb.blogspot.com/2012/10/sharepoint-set-peoplepicker-via-js.html
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to get additional field from the second list base on lookup information column ?

    Hi everyone,
    Currently I created a SharePoint hosted Apps project and I need to know how can I get additional field from the second list base on lookup information column. example List1 Have 2 columns column1 and column2(Lookup Information from list2 (category)),
    List2 have 3 columns title, and category, and color.  so how can get the title and color from list2 base on this lookup information column (SharePoint Hosted apps and Javascript code)? that is possible?
    Best regards,
    ------------------------------------------------------------ ---Tola---

    You can build one custom lookup control. Refer to the following post
    http://www.stuartroberts.net/index.php/2012/10/03/enhanced-lookup-field-part-1/
    Alternatively, try the following solution from codeplex
    http://sp2010filteredlookup.codeplex.com/
    http://filteredlookup.codeplex.com/
    --Cheers

  • How to get only custom fields from a SharePoint 2010 list?

    I am working with the Client Side Object Model. In a console application I am retrieving all fields from a custom list. The problem is the Clientcontext fetches me a bunch of internal fields I do not want to be included. Also this causes some of the fields
    to appear more than once.
    string siteURL = "http:XYZ";
    ClientContext context = new ClientContext(siteURL);
    Web oWebSite = context.Web;
    context.Load(oWebSite);
    context.ExecuteQuery();
    //Get the list by title
    List produktKatalogListe = spLists.GetByTitle("Produktkatalog");
    CamlQuery camlQuery = new CamlQuery();
    camlQuery.ViewXml = "<View/>";
    ListItemCollection listItems = produktKatalogListe.GetItems(camlQuery);
    context.Load(produktKatalogListe);
    context.Load(listItems);
    context.Load(produktKatalogListe.Fields);
    context.ExecuteQuery();
    foreach(Field field in produktKatalogListe.Fields)
    Console.WriteLine("{0} - {1} - {2} - {3} - {4}",field.Title,field.InternalName,field.Hidden,field.CanBeDeleted,field.FieldTypeKind);
    Is there a way to print only custom fields? This would mean omitting fields like
    internalID, GUID...
    I tried the following:
    if(!field.Hidden)
    Console.WriteLine("{0} - {1} - {2} - {3} - {4}",field.Title,field.InternalName,field.Hidden,field.CanBeDeleted,field.FieldTypeKind);
    Unfortunately this not only does not solve the issue but is also not a very good solution for the case I do want to display custom but hidden fields.
    Algorithmen und Datenstrukturen in C#:
    TechNet Wiki

    The following approach seems to solve the issue. Instead for checking if the field is not
    Hidden I checked whether it is not FromBaseType.
    if(!field.FromBaseType)
    Console.WriteLine("{0} - {1} - {2} - {3} - {4}",field.Title,field.InternalName,field.Hidden,field.CanBeDeleted,field.FieldTypeKind);
    Algorithmen und Datenstrukturen in C#:
    TechNet Wiki

  • Superfish drop-down menu – built from a SharePoint list not working

    Hi All,
              I required multiple menus and I am following the below url to achieve my task .After following the all the steps I don't get any result.Can any one help me how can I over come from the issue
    http://spjsblog.com/2011/11/06/superfish-drop-down-menu-buildt-from-a-sharepoint-list/
    Thanks, Quality Communication Provides Quality Work. http://siddiq-sharepoint2010.blogspot.in/ Siddiqali Mohammad .

    Hi siddiqali,
    In SharePint, it provides navigation feature which is similar to yours. Have you tried to use it? If not, I suggest you use navigation feature.
    http://blog.incworx.com/blog/sharepoint-2010-tips-and-tricks/global-navigation-drop-down-menus-in-sharepoint-2010
    If the navigation feature cannot match your requirement, there is a solution similar to the function in the blog that you mentioned, you can download and deploy it to your SharePoint.
    https://www.nothingbutsharepoint.com/sites/eusp/Pages/SharePoint-2010-and-Mega-Drop-Down-Menu-Navigation.aspx
    Deploy solutions in SharePoint:
    http://technet.microsoft.com/en-us/library/cc262995(v=office.14).aspx
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Query FI - coding for including fields from doc and clearing doc

    Hi!
    I am a functional FI consultant and need to create a query (SQ01) with information from the payment document and the invoice which was cleared by the payment. I need to know which coding to use to include two fields from the invoice document in the query.
    Thank you
    Claudia

    Hi,
    Try something like this. I could not try it in my system, if there are some error let me know.
    FIELD-SYMBOLS
         : <SOURCE_PACKAGE> LIKE LINE OF SOURCE_PACKAGE.
    LOOP AT SOURCE_PACKAGE ASSIGNING <SOURCE_PACKAGE>.
    LOOP AT it_docu_condition into wa_docu_condition
                   where Order = <SOURCE_PACKAGE>-Order  and
                            item   = <SOURCE_PACKAGE>-item.
    CASE wa_docu_condition-condition_type.
    when u2019bonusu2019.
    <SOURCE_PACKAGE>-bonus = wa_docu_condition-condition_value.
    when u2019skontou2019.
    <SOURCE_PACKAGE>-skonto = wa_docu_condition-condition_value.
    when u2019taxu2019.
    <SOURCE_PACKAGE>-tax = wa_docu_condition-condition_value.
    ENDCASE.
    ENDLOOP.
    Regards

  • Hide a user field from the masks of SAP with SDK

    Hello everyone,
    how I can hide a user field on a form?
    I think there are two solutions:
    1) I can use the event "Form_Load" and change the property "visible" for the user field (bad)
    2) I think the best solution is to modify the configurations of the form, hiding the field for all users.
    I tried this with the example I write below, but the addon correctly change the values ​​in the table "CPRF​​", but still shows the SAP field and then when I close the program, the values ​​are reset again.
    I ask your help please. How I can do?
    thanks
    Info
    SAP 8.81 PL09
    SQL2008 DB
                Dim frmPref As FormPreferencesService
                Dim colPrefs As ColumnsPreferences
                Dim colPrefsPrm As ColumnsPreferencesParams
                Dim col As SAPbobsCOM.ColumnPreferences = Nothing
                '_SboCy  ==> SAPbobsCOM.Company
                '_sboCys ==> SAPbobsCOM.CompanyService
                'get Form Preferences Service
                frmPref = CType(_sboCys.GetBusinessService(ServiceTypes.FormPreferencesService), FormPreferencesService)
                'get Columns Preferences Params
                colPrefsPrm = CType(frmPref.GetDataInterface(FormPreferencesServiceDataInterfaces.fpsdiColumnsPreferencesParams), ColumnsPreferencesParams)
                'set the form id (e.g. A/R invoice=133)
                colPrefsPrm.FormID = "-139"
                'set the user id (e.g manager= 1)
                colPrefsPrm.User = 1
                'get the Columns Preferences according to the formId & user id
                colPrefs = frmPref.GetColumnsPreferences(colPrefsPrm)
                Dim exist As Boolean = False
                'change the width of all the visible items
                For i As Integer = 0 To colPrefs.Count - 1
                    If colPrefs.Item(i).ItemNumber = "U_MYFIELD" Then
                        colPrefs.Item(i).VisibleInForm = BoYesNoEnum.tNO
                        colPrefs.Item(i).EditableInForm = BoYesNoEnum.tNO
                        exist = True
                        Exit For
                    End If
                Next
                If Not exist Then
                    col = colPrefs.Add
                    col.Column = "-1"
                    col.EditableInExpanded = BoYesNoEnum.tNO
                    col.EditableInForm = BoYesNoEnum.tNO
                    col.FormID = "-139"
                    col.User = 1
                    col.ExpandedIndex = 1
                    col.Width = 0
                    col.VisibleInExpanded = BoYesNoEnum.tNO
                    col.VisibleInForm = BoYesNoEnum.tNO
                    col.ItemNumber = "U_MYFIELD"
                End If
                'Update
                frmPref.UpdateColumnsPreferences(colPrefsPrm, colPrefs)
                NothingObj(CObj(col))
                NothingObj(CObj(frmPref))
                NothingObj(CObj(colPrefs))
                NothingObj(CObj(colPrefsPrm))

    Hello Joris,
    I searched on help.sap.com and found the following link, it provides the constraints LDAP and UME sync has.
    http://help.sap.com/saphelp_nw70/helpdata/EN/48/d1d13f7fb44c21e10000000a1550b0/frameset.htm
    Regards,
    Siddhesh

  • Filling a content type field from an existing list

    I have a question about populating a new document with data from an existing list.
    We have a list with customers containing the name, address and email for every customer.
    I created a document library for letters and invoices with a document type connected to it. The document type uses a site column with a lookup to the customer name.
    In the document template I created the field corresponding to the customer name, so if it is changed in the DIP the customer name shows in the document itself.
    My challenge is that I would like to also fill in the address and email automatically for the customer name that is chosen.
    When I created the site column I was able to select 'add a column for these extra fields' so I am able to put them in the template, but they will not auto fill.
    Is this even possible?

    Hi,
    I got the same result as yours, and I don’t think we can display the additional fields in the DIP (as I don’t support Office, I’m not sure it).
    They are all belong to the lookup column, we could not fill any values.
    Just as we upload a file into the library, it also not display the additional fields.
    What’s more, if it could display the additional fields in the DIP, we also could not add any values to the additional fields.
    But, although the additional fields not display in the DIP, but when we select a value from the lookup column, it would auto fill the value for the additional fields in the library when we save the file.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Creating an order form from a sharepoint list

    Hello- I need to create an order form that shows my entire sharepoint list and allows the user to select the items he/she wants and put qty's next to them. Is this possible?
    I see how to add the list into my form as a dropdown allowing me to select each on individually but i would like them all to be displayed.
    I am using infopath 2007.
    thanks - Casey

    Hello,
    You first need to create custom list in sharepoint (if not created yet) and save data into it. Later you need to add a data connection in form to connect your list with infopath form.
    Now you can bind the data with dropwdown or bind with repeating table to show all (just drag and drop the connection on form). later you can add one checkbox in repeating table so user can select the data whatever they want.
    Refer this link to drag and drop data connection as repeating table:
    http://www.enjoysharepoint.com/Articles/Details/show-sharepoint-list-data-in-repeating-table-in-infopath-2010-377.aspx#.U3rnLSjcCHM
    Refer this for checkbox:
    http://www.bizsupportonline.net/infopath2010/how-to-check-all-check-boxes-repeating-table-infopath-2010.htm
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Query help: Return mult. matching rows only, single table...

    I've done some searching - but no luck - I have a question that should be easy for an expert:
    I want to select only rows that have multiple occurences of matching fields - and I don't know (or really care) what their values are.
    Example table has 5 fields: field1 field2 field3 field4 field5
    If there is more than 1 record that share the same field1, field3, and field5 - then I want to return all of those records, and ignore the rest.
    Finally, I don't know what the matching values are or may be - they just match. I do, however, know it has to be those 3 fields (only fields 1, 3 and 5).
    field1 field2 field3 field4 field5
    1 ???? John ???? Seattle
    1 ???? John ???? Spokane
    2 ???? John ???? Seattle
    1 ???? John ???? Spokane
    So from the above, I would only want 2 rows - both:
    1 ???? John ???? Spokane
    Because those 3 fields matched up in multiple rows, it the ???? fields that I want to look at in both rows.
    I really appreciate any help in advance!

    Hi,
    An other solution :
    SQL> select * from tbl;
        FIELD1 FIELD2     FIELD3     FIELD4     FIELD5
             1 ????       John       ????       Spokane
             2 ????       John       ????       Seattle
             1 ????       John       ????       Spokane
             1 ????       John       ????       Seattle
    SQL> select distinct field1,field2,field3,field4,field5
      2  from (select tbl.*,count(*) over (partition by field1, field3,field5) ct from tbl)
      3  where ct >1;
        FIELD1 FIELD2     FIELD3     FIELD4     FIELD5
             1 ????       John       ????       Spokane
    SQL> Nicolas.
    Message was edited by:
    N. Gasparotto
    With a field3 value like this, it's necessary John which answered first ;-)

  • CAML Query where clause on lookup field

    I'm trying to pull back values that are greater then 5 from my list. I'm using a lookup column that stores the numbers. That column is using a count of another lookup column in another list.
    <Query>
    <Where>
    <Gt><FieldRef Name='LookupColumn' /><Value Type='Lookup'>10</Value></Gt>
    </Where>
    </Query>
    I'm not getting any results or errors back. Is there a syntax error or something missing?

    You're missing a ">" on closing Value tag:
    <Value Type='Lookup'>10</Value
    should be:
    <Value Type='Lookup'>10</Value>

  • User field from field catalog - value disappering while record maintenance

    Hi,
    I have added new field ZPROD_HIEARCHY with data element CRMT_PROD_HIERARCHY for product hiearchy with virtual value as C. I have added the same field in new condition table and then maintained respective access sequence for that condition table. I have maintained the condition maintenance group also. But when i try to maintain the condition record using /SAPCND/GCM - Maintain Conditions for the same using all relavent fields inclusing product hierachy, the product hiearchy is disappering.
    Can anybodyhelp on this.
    Regards,
    Harshad.

    Hi Vinod,
    Thank you very much for the answer. Somehow, I forgot to update the UPDKZ indicator. The VBEP table is getting updated with the new dates..I am writing this code in USEREXIT_CHECK_VBAP as someother checks also are required to made this.
    With the change I haved done, for one sales order before applying the new date, the schedule line date are as follows
    Delivery date|ordered qty|rounded qty|Confirmed Qty
    01/05/2011   |30               |30               |0
    02/02/2011   |0                 |0                 |30
    after the changes with the new delivery date for xvbep table, the sales order now showing
    Delivery date|ordered qty|rounded qty|Confirmed Qty
    01/07/2011   |30               |30               |0
    01/07/2011   |0                 |0                 |30
    Is this resultant values practically correct. I think when we consider standard sap it should contain the values like below I believe. Do you have inputs on this..
    Delivery date|ordered qty|rounded qty|Confirmed Qty
    01/07/2011   |30               |30               |30
    If we want to achieve this what could be done.
    Best regards,
    Siva

  • Displaying user selection from drop down list in static text on master page

    Hello,
    I am using LC 7.0 at workk and I have hit a road block.
    I have a drop down list at the top of the form. Once the user makes a selection, I want to take that value and paste it in static text located on the master page. I can't seem to get it to work.
    Please help!!!

    Hi,
    Place the Drop Down list on form
    Place text object(s) on master page
    here is the script to display the value and/or text of drop down
    Script will be on Drop Down list events
    Calculate event to display value of DD - FormCalc
    form1.pageSet.Page1.StaticText1.rawValue = this.rawValue;
    Change event to display Text of DD - JavaScript
    form1.pageSet.Page1.StaticText2.rawValue = xfa.event.newText;
    SAVE the form as dynamic pdf.
    Hope this will help.
    Thanks,
    Raghu.

Maybe you are looking for

  • How can i remove my credit card?

    how can i remove my credit card from my apple id? im wasting my money on games.

  • I am trying to import my photos from iphoto 11   into Aperture v3.0

    I am trying to import my photos from iphoto 11 v9.4.3  into Aperture v3.0. When I select import I get a message saying Aperture cannot import libraries from version earlier that iphoto 7.1.5 and tells me to upgrade to a lter version of iphoto. Advice

  • How to free up space in Tablespace?

    My SQL is quite decent but not perfect. I'm using the following sql query to find out the tablespace's free space: select b.tablespace_name, tbs_size SizeMb, a.free_space FreeMb from (select tablespace_name, round(sum(bytes)/1024/1024 ,2) as free_spa

  • Purch Block field in SRM vendor record?

    Hi, We are on SRM 5.0 and I have a question on the vendor block For the functionality for vendor blocks (manage business partners), why is the Purch Block field in 'vendor data' blocked?. i have blocked the vendor in r/3, executed the vendor update j

  • Ibook suddenly marks photos with yellow exclamation mark

    Hi, I have created several photo albums and had them published. I have always chosen my photos carefully to avoid the yellow exclamation mark. One of my projects was started several months ago and left untouched for a long time. When I went back to t