Combining Contact Selector with other Data Submits - InfoPath Dev
in

InfoPath Dev

Combining Contact Selector with other Data Submits

Last post 10-19-2009 09:18 AM by Apocalypso. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 10-12-2009 03:12 AM

    Combining Contact Selector with other Data Submits

    I am using InfoPath 2007 with WSS 3.0

    I have a form with tick buttons which allow the user to select which departments to send the form to, i.e. Legal, Finance... (as a Submit Data > As an e-mail message) upon pressing a Submit button.

    Below it I have a Contact Selector which allows the user to choose other contacts not mentioned in the above.

    Now if the user selects one of the distinations from the tick boxes but leaves the Contact Selector blank they get the following error message:

    InfoPath cannot submit the form.
    An error occurred while the form was being submitted.
    One of the required values for submitting the form is missing. The value is created using the following XPath expression: my:gpContactSelector/my:Person/my:DisplayName

    Now I have checked the properties for DisplayName and it is not a required field. Does anybody have an idea as to what is going on?

  • 10-14-2009 07:08 AM In reply to

    Re: Combining Contact Selector with other Data Submits

    Is the parent group node repeating? If so, double click on it in the data source task pane and go to details and make sure MinOccurs is not set to 1.

    Patrick Halstead
    Project Manager at Qdabra
  • 10-14-2009 08:05 AM In reply to

    Re: Combining Contact Selector with other Data Submits

    I have checked. The parent group is Repeating and Minimum Occurances: 0 

    Patrick Halstead:

    Is the parent group node repeating? If so, double click on it in the data source task pane and go to details and make sure MinOccurs is not set to 1.

     

     

  • 10-19-2009 09:18 AM In reply to

    Re: Combining Contact Selector with other Data Submits

    I have sorted this now. Turns out it was the order in which I was processing rules. With the Contact Selector rules running after the other Data Submits the form works fine. Schoolboy error!

     

    Apocalypso:

    I have checked. The parent group is Repeating and Minimum Occurances: 0 

     

    Patrick Halstead:

    Is the parent group node repeating? If so, double click on it in the data source task pane and go to details and make sure MinOccurs is not set to 1.

     

     

     
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.