SP2013 IP2013 - IP submit to SP - InfoPath Dev
in

InfoPath Dev

SP2013 IP2013 - IP submit to SP

Last post 08-25-2016 09:33 AM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-19-2016 12:59 PM

    SP2013 IP2013 - IP submit to SP

     I have a functioning form that will submit to a sp list. I don't want just free form text fields. So how can I convert the "Add To List Template.xml" to have a dropdown, and populate it with data. In addition, how can I convert one of the fields to a date picker. the below is my xml, I want to make source a dropdown, and date a datepicker. I can work with another field, that would set the value, just not sure where to begin. Also, is there a way to make required using IP validation ad not just always required?

    <?xml version="1.0" encoding="UTF-8"?>
    <Batch OnError="Continue">
        <Method ID="1" Cmd="New">
            <Field Name="XUserID"></Field>
      <Field Name="Name"></Field>
            <Field Name="Site">remote</Field>
            <Field Name="Date"></Field>
            <Field Name="Starttime">10:00</Field>
      <Field Name="EventCategory"></Field>
      <Field Name="Source"></Field>
      <Field Name="Title"></Field>
      <Field Name="Facilitator"></Field>
      <Field Name="Hours"></Field>
      
        </Method>
    </Batch>

     

    thank you,

    Larry 

    Kind regards,
    Larry
  • 08-25-2016 09:33 AM In reply to

    Re: SP2013 IP2013 - IP submit to SP

     Euw yah, that is tough because field is repeating. What I'd do is add another attribute to the Field called "set" or something, then set up the controls using main data source. Then on Submit, set "set" 1 and have rules on that to set the individual fields. This is hard to explain, please see attached.

    Hilary Stoupa

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