<doc>
  <legacy_id>2275</legacy_id>
  <name>selectedField</name>
  <type>function</type>
  <syntax>
    <example>the selectedField</example>
    <example>selectedField()</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>User Interaction</category>
  </classification>
  <references>
    <function tag="selectedLoc">selectedLoc Function</function>
    <function tag="selectedChunk">selectedChunk Function</function>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary><glossary tag="return">Returns</glossary> the number of the <keyword tag="field">field</keyword> with the text <keyword tag="selection">selection</keyword> or <glossary tag="insertion point">insertion point</glossary>.</summary>
  <examples>
    <example>the selectedField</example>
    <example>hide the selectedField</example>
  </examples>
  <description>
    <p>Use the <b>selectedField</b> <control_st tag="function">function</control_st> to determine which <keyword tag="field">field</keyword> the <keyword tag="selection">selection</keyword> is in.</p><p/><p><b>Value:</b></p><p>The <b>selectedField</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> the <function tag="number">number</function> of the <keyword tag="field">field</keyword> with the <keyword tag="selection">selection</keyword>.</p><p/><p><b>Comments:</b></p><p>If there is no insertion point or text selection, the <b>selectedField</b> function <glossary tag="return">returns</glossary> empty. Otherwise, the <b>selectedField</b> is the same <glossary tag="object">object</glossary> as the one specified by the <function tag="focusedObject">focusedObject</function> <control_st tag="function">function</control_st>.</p>
  </description>
</doc>