<field name="myfield" type="sql" default="10" label="Select an article" query="SELECT title FROM #__menu_types" key_field="title" required="true"> <option value="">Please select your option</option> </field>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)