Firefox 57 doesn't appear to pass values from php/html dropdown controls to URL
I have a site that worked in FF56, and works in IE11, which contains lines such as:
<input type="hidden" id="m" name="m">
...which typically append the URL when submitting the form with "&m=[selected_value]".
This does not appear to work anymore with FF57 - the URL is instead appended with "&m=", without the value; wondering if this is intentional or a bug.
All Replies (1)
I realized the above might be confusing, so here's an excerpt (sorry for the awful formatting, I don't see an option for [code] tags):
echo "<form action=\"./index.php?dept=$dept&t=$type&sub=$sub\" method=\"get\" id=\"monthly\" name=\"monthly\">";
echo "<select name=\"y\" form=\"monthly\">"; $allyears = array("2017","2016"); foreach($allyears as $year) {
if($year==$ydefault) $selected="selected=\"selected\""; else $selected=""; echo "<option $selected value=\"$year\">$year</option>";
} echo "</select>";
echo "
<input type=\"submit\" value=\"Generate\">";
echo "</form>";
Typically, the URL returned when submitted would be something like: "index.php?dept=$dept&t=$type&sub=$sub&m=[selected_item]" (i'm getting the $dept/etc vars elsewhere prior to this)... but instead, I'm getting "index.php?dept=$dept&t=$type&sub=$sub$m=".
Okulungisiwe