Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Learn More

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

Firefox 57 doesn't appear to pass values from php/html dropdown controls to URL

  • 1 risposta
  • 1 ha questo problema
  • 1 visualizzazione
  • Ultima risposta di urbanwks

more options

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.

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.

Tutte le risposte (1)

more options

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=".

Modificato da urbanwks il