I’m attempting to modify my &tplInput in the hopes of ending up with something like this:
http://www.modx2.wangba.fr/index.php?id=258
However, I’m having a bit of trouble. Is it possible to populate the dropdown menus with the values of TVs? How would you set this up? Thank you!
I’m just trying to modify one of the default &tplInputs for now:
[+as.showInputForm:is=`1`:then=`
<form id="[+as.formId+]" action="[+as.formAction+]" method="post">
<fieldset>[+as.showAsId:is=`1`:then=`<input type="hidden" name="[+as.asName+]" value="[+as.asId+]" />`+]
<input type="hidden" name="advsearch" value="[+as.advSearch+]" />
<label>
<input id="[+as.inputId+]" class="cleardefault" type="text" name="search" value="[+as.inputValue+]"[+as.inputOptions+] />
</label>
[+as.liveSearch:is=`0`:then=`
<label>
<input id="[+as.submitId+]" type="submit" name="sub" value="[+as.submitText+]" />
</label>
`+]
</fieldset>
</form>
`+]
[+as.showIntro:is=`1`:then=`
<p class="ajaxSearch_intro" id="ajaxSearch_intro">[+as.introMessage+]</p>
`+]