autoComplete Attribute

Microsoft Office InfoPath

autoComplete Attribute

Switches the auto-completion of fields on or off.

Type

      xsf:xdYesNo
    

Remarks

The autoComplete attribute is an optional attribute of the editWith element.

Values include "yes" and "no". The default value is "yes".

Example

The following is an example of the autoComplete attribute as it is used in the editWith element:

    <xsf:editing>
   <xsf:xmlToEdit name="CD_10"
      item="/CustomUISample/CDCollection/CD" 
      container="/CustomUISample">
      <xsf:editWith caption="CD"
         autoComplete="yes"
         component="xCollection">
         <xsf:fragmentToInsert>
            <xsf:chooseFragment parent="CDCollection">
               <CD>
                  <Title></Title>
                  <Artist></Artist>
                  <Tracks>
                     <Track></Track>
                     <Track></Track>
                  </Tracks>
               </CD>
            </xsf:chooseFragment>
         </xsf:fragmentToInsert>
      </xsf:editWith>
   </xsf:xmlToEdit>
</xsf:editing>