I&#39;m trying to use PmForm DataForm with input select to use a drop down list generated from a pagelist to populate a data form variable.<div><br class="webkit-block-placeholder"></div><div>I started with the basic DataForm example (which worked fine) but I am having a hard time figuring out how to modify it to switch from a regular input text to an input select. &nbsp;Here is what I am starting out with.
</div><div><br class="webkit-block-placeholder"></div><div>In Site/LocalTemplates I have the following dataform, datapost and dropdown templates:</div><div><br>&nbsp;</div><div><span class="Apple-style-span" style="font-family: Arial; font-size: 15px; line-height: 19px; ">
<pre class="escaped" style="font-size: 0.9em; font-family: Lucida Console, Andale Mono, Courier New, Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; ">[[#dataform]]
(:input pmform target=savedata :)
(:input default source={*$FullName} :)
(:input default request=1 :)
(:messages:)
|| Name:||(:input text $:name size=25 :) ||
|| Email:||(:input text $:email size=25 :) ||
(:input submit :)
(:input end:)
[[#dataformend]]</pre><pre class="escaped" style="font-size: 0.9em; font-family: Lucida Console, Andale Mono, Courier New, Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; "><br class="webkit-block-placeholder">
</pre><pre class="escaped" style="font-size: 0.9em; font-family: Lucida Console, Andale Mono, Courier New, Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; "><span class="Apple-style-span" style="font-family: &#39;Lucida Grande&#39;; font-size: 11px; line-height: normal; white-space: pre-wrap; ">
[[#datapost]]</span></pre><pre class="escaped" style="font-size: 0.9em; font-family: Lucida Console, Andale Mono, Courier New, Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; "><span class="Apple-style-span" style="font-family: &#39;Lucida Grande&#39;; font-size: 11px; line-height: normal; white-space: pre-wrap; ">
(:template defaults savevars=$:name,$:email, $:n:)
[[#datapostend]]
</span></pre><pre class="escaped" style="font-size: 0.9em; font-family: Lucida Console, Andale Mono, Courier New, Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; "><br class="webkit-block-placeholder">
</pre><pre class="escaped" style="font-size: 0.9em; font-family: Lucida Console, Andale Mono, Courier New, Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; "><span class="Apple-style-span" style="font-family: arial; font-size: 13px; line-height: normal; white-space: normal; ">
<div><span class="Apple-style-span" style="font-family: &#39;Lucida Grande&#39;; font-size: 11px; white-space: pre-wrap; ">[[#dropdownlist]]
(:input select name=n {=$FullName} &quot;{=$Name}&quot;:)
[[#dropdownlistend]]
</span></div></span><br class="webkit-block-placeholder"></pre><pre class="escaped" style="font-size: 0.9em; font-family: Lucida Console, Andale Mono, Courier New, Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; ">
Initially I tried changing the dataform message line for name to:</pre><pre class="escaped" style="font-size: 0.9em; font-family: Lucida Console, Andale Mono, Courier New, Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; ">
<br class="webkit-block-placeholder"></pre><pre class="escaped" style="font-size: 0.9em; font-family: Lucida Console, Andale Mono, Courier New, Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; ">
<span class="Apple-style-span" style="font-family: Arial; font-size: 15px; line-height: 19px; white-space: normal; "><pre class="escaped" style="font-size: 0.9em; font-family: Lucida Console, Andale Mono, Courier New, Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; ">
|| Name:||(:pagelist fmt=#dropdownlist group=people ||
</pre></span><br class="webkit-block-placeholder"></pre><pre class="escaped" style="font-size: 0.9em; font-family: Lucida Console, Andale Mono, Courier New, Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; ">
which provided me with a drop down list, but when I pressed select I would</pre><pre class="escaped" style="font-size: 0.9em; font-family: Lucida Console, Andale Mono, Courier New, Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; ">
navigate to the page selected in the drop down list instead of simply</pre><pre class="escaped" style="font-size: 0.9em; font-family: Lucida Console, Andale Mono, Courier New, Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; ">
passing along the value from the drop down list.</pre><pre class="escaped" style="font-size: 0.9em; font-family: Lucida Console, Andale Mono, Courier New, Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; ">
<br class="webkit-block-placeholder"></pre><pre class="escaped" style="font-size: 0.9em; font-family: Lucida Console, Andale Mono, Courier New, Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; ">
What am I missing?</pre><pre class="escaped" style="font-size: 0.9em; font-family: Lucida Console, Andale Mono, Courier New, Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; "><br class="webkit-block-placeholder">
</pre><pre class="escaped" style="font-size: 0.9em; font-family: Lucida Console, Andale Mono, Courier New, Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; ">Pico</pre></span></div>