Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
quote:
Originally posted by: DLoe
What language?
In ASP, you can just assign the value you calculate to a variable, and in the hidden field, insert that value with the variable.
<%
DIM varMyVariable
varMyVariable = "Dog" & "Cat" 'sample assignment of a value
%>
Here's the input field.
<input name="hiddenField" type="hidden" value=<%=varMyVariable%> />
The value <%=varMyVariable%> is short way of doing "response.write(varMyVariable)"
Copy link to clipboard
Copied
quote:
Originally posted by: DLoe
> What language?
>
> In ASP, you can just assign the value you calculate to a variable, and in
> the
> hidden field, insert that value with the variable.
> <%
> DIM varMyVariable
> varMyVariable = "Dog" & "Cat" 'sample assignment of a value
> %>
> Here's the input field.
> <input name="hiddenField" type="hidden" value=<%=varMyVariable%> />
>
> The value <%=varMyVariable%> is short way of doing
> "response.write(varMyVariable)"
>
Copy link to clipboard
Copied