All right, I see. I changed it but now the default number of days changed to 120. Any idea how come? I add the (bilingual: Dutch and English)code from my forum.asp: FIRST PART: nDays = Request.Form("Days") mypage = 1 end if
<form action="<% =Request.ServerVariables("SCRIPT_NAME") & "?" & Request.Querystring %>" method="post" name="DaysFilter"> <select name="Days" onchange="javascript:setDays();"> <option value="0" <% if ndays = "0" then Response.Write(" SELECTED")%>>Alle berichten / All topics</option> <option value="-1" <% if ndays = "-1" then Response.Write(" SELECTED")%>>Alle open berichten / All open topics</option> <option value="1" <% if ndays = "1" then Response.Write(" SELECTED")%>>Berichten van de laatste dag / Topics from last day</option> <option value="2" <% if ndays = "2" then Response.Write(" SELECTED")%>>Berichten van de laatste 2 dagen / Topics from last 2 days</option> <option value="5" <% if ndays = "5" then Response.Write(" SELECTED")%>>Berichten van de laatste 5 dagen / Topics from last 5 days</option> <option value="7" <% if ndays = "7" then Response.Write(" SELECTED")%>>Berichten van de laatste 7 dagen / Topics from last 7 days</option> <option value="14" <% if ndays = "14" then Response.Write(" SELECTED")%>>Berichten van de laatste 14 dagen / Topics from last 14 days</option> <option value="30" <% if ndays = "30" then Response.Write(" SELECTED")%>>Berichten van de laatste 30 dagen / Topics from last 30 days</option> <option value="60" <% if ndays = "60" then Response.Write(" SELECTED")%>>Berichten van de laatste 60 dagen / Topics from last 60 days</option> <option value="120" <% if ndays = "120" then Response.Write(" SELECTED")%>>Berichten van de laatste 120 dagen / Topics from last 120 days</option> <option value="365" <% if ndays = "365" then Response.Write(" SELECTED")%>>Berichten van laatste jaar / Topics from last year</option> </select> <input type="hidden" name="Cookie" value="1"> </form>
I think you did not understand my last posting. I mean I want it to be "all topics" and therefor I changed the value from 30 into 0. Nevertheless, strange enough, on the board, 120 days shows up as the default value....
Are you sure it is the defaultvalue showing up and not a value that you selected before ? The value is stored in a cookie, try deleting that one and see if it still show 120 days.