J
jodleren
Hi all
In a form, I have some hidden values, which once set stays forever.
There is an ignore option, and I keep it, as it might be needed later.
If is default false (<>"true"), that works well.
Just before </from> I set the value.
In 2 places, there is a small script, which can set the value to true.
But the problem is, that it just "grows", second time it is not
"false" but "false, false", and it just gets longer.
Why?
WBR
Sonnich
Code:
response.write request("ignore_mf") & "<br>"
bIgnoreMissing=safe_str(request.form("ignore_mf")) = "true"
request.form("ignore_mf")="" ' does not help
request.form("ZipError")=""
response.write "bIgnoreMissing= " & cstr(bIgnoreMissing) & "<br>"
......
<form...><%
if bIgnoreMissing then
%><input type="hidden" name="ignore_mf" value="true"><%
else
%><input type="hidden" name="ignore_mf" value="false"><%
end if
In a form, I have some hidden values, which once set stays forever.
There is an ignore option, and I keep it, as it might be needed later.
If is default false (<>"true"), that works well.
Just before </from> I set the value.
In 2 places, there is a small script, which can set the value to true.
But the problem is, that it just "grows", second time it is not
"false" but "false, false", and it just gets longer.
Why?
WBR
Sonnich
Code:
response.write request("ignore_mf") & "<br>"
bIgnoreMissing=safe_str(request.form("ignore_mf")) = "true"
request.form("ignore_mf")="" ' does not help
request.form("ZipError")=""
response.write "bIgnoreMissing= " & cstr(bIgnoreMissing) & "<br>"
......
<form...><%
if bIgnoreMissing then
%><input type="hidden" name="ignore_mf" value="true"><%
else
%><input type="hidden" name="ignore_mf" value="false"><%
end if