Implementing the solution found on Bring Matrix Data Editing to the Front-End I've a matrix field that contains a P&T Dropdown field type
<select name="role_level[row_new_0][col_id_46]">
{options:role_level}
<option value="{option_value}"{selected}>{option_name}</option>
{/options:role_level}
</select>
This doesn't work (no options output), the author of the post adviced to hard-code the options
<select name="level_matrix[row_new_0][col_id_46]">
<option value="">Choose Level</option>
<option value="Entry Level">Entry Level</option>
<option value="Experienced">Experienced</option>
<option value="Manager">Manager</option>
<option value="Executive">Executive</option>
</select>
How can i make the selected option remain "selected"? (will be doing this on many other fields)
Thanks