I took a look at the link that was attached to the forum post. If you save the
.bes
file as a txt file you can get a view into what is going on. I would recommend opening the file in Notepad++.
<Title>Fixlet with select drop down options</Title> <Description><![CDATA[ <P>Choose a value: <select id=theDaySelect> <option value=
"Sunday">Sunday</option> <option value=
"Monday">Monday</option> <option value=
"Saturday">Saturday</option> </select> </P> <P> </P> <P>Click <span id=
"importlink" style=
"text-decoration: underline; color: #5386b3;">here</span> to begin deployment with the above value.</P> <script> function DoImport()
{ var theActionScript =
''; var doc = myAction.XMLDocument var a = doc.selectSingleNode(
"BES/SingleAction/ActionScript"); theActionScript +=
'// Do some stuff here\n'; theActionScript +=
'// Selected day was: ' + theDaySelect.options[theDaySelect.selectedIndex].value; a.text = theActionScript; var result = ImportXML(myAction.xml);
} </script>
Essentially the XML has a nice little script that generates an action using ImportXML. You could add text & formatting to the action by modifying