Question
Using the Controls Plugin. Sample code:
<form name="newreport" action="%SCRIPTURLPATH%/edit/%WEB%/">
| *Subject* | <input type="text" name="Subject" size="80" value="" /> | give a short description |
| *Exchange* | %CONTROL{"Exchange" form="newreport" topic="SupportedCountries" type="select" size="1"}% | |
<input type="hidden" name="topic" value="InterventionTask200610$191634" />
<input type="hidden" name="templatetopic" value="InterventionTemplate" />
<input type="hidden" name="topicparent" value="%BASETOPIC%" />
<input type="submit" value=" Create report " />
</form>
The actual list in SupportedCountries renders to a 3-level selection.
After correctly selecting the items i get in the QUERY_STRING sent:
... Exchange0=level1&Exchange2=level3&Exchange3=level3 ...
Item
Exchange2 gets the value of the third level again instead of the level2 value.
So the resulting template is filled with the wrong value for the *Exchange2" field.
Any ideas ?
Using Controls plugin dd. 06 Aug 2006 - 12:16.
Environment
--
PetricFrank - 19 Oct 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Even with your example (CitiesMenu) in the *.zip file i get in the QUERY_STING:
line0=Argentina&line1=CitySections
The second level (
line1) is wrong. I've selected "Corral the Bustos".
Hope that helps tracking down the problem.
--
PetricFrank - 20 Oct 2006
Sorry, closing after more than 30 days. Possibly ask in the
ControlsPluginDev topic...
--
PeterThoeny - 01 Dec 2006