[SIZE=14px]Hello All,
I have implemented a form via the “control app”.
Working fine except for the Select Dropdown functionality.
The dropdown work fine BUT does not retain the “selected” option.
Code below:[/SIZE]
<form role=“form” {SC_FORM_ATTR}>
<!–SC_FORM_HIDDEN–>
<div class=“center”>
<!–SC_FIELD_LABEL_reportyear–>
<select class=“selectpicker” class="{SC_FIELD_CLASS}" name=“reportyear” {SC_FIELD_INFO_reportyear} </select>
</div>
<br /> <br />
<div class=“center”>
<!–SC_FIELD_LABEL_reportmonth–>
<select class=“selectpicker” class="{SC_FIELD_CLASS}" {SC_FIELD_INFO_reportmonth} </select>
</div>
<br /> <br />
<div class=“row” >
<div class=“center” class=“col-xs-12 col-md-6”>
<input type=“submit” value=“Get Monthly Report” class=“btn btn-primary btn-block btn-lg {SC_FORM_SUBMIT_INFO} {SC_FIELD_CLASS}” tabindex=“7”>
</div>
</div>
</form>
[SIZE=14px]Does anyone know how to capture the selected option via the markup?
Also note the strange implentation:[/SIZE]
<select class=“selectpicker” class="{SC_FIELD_CLASS}" name=“reportyear” {SC_FIELD_INFO_reportyear} </select>
If you close the tag in the normal fashion rubbish code appears, so I’ve overcome the issue as high-lighted above.
[SIZE=14px]regards
Mark[/SIZE]