November 11th, 2011, 06:24 AM
Join Date: Nov 2011
Time spent in forums: 2 h 49 m 39 sec
Reputation Power: 0
Form variable undefined
My Sample code is as below:
<form name="test" id="test">
DD1: <select name="dd1" id="dd1" onchange="loadHiddenvar();">
<input type="hidden" name="h1" id="h1" value= "">
<cfoutput>Hidden var is #FORM.h1#</cfoutput>
Its always giving me variable h1 undefined.
I tried assigning this to a new variable and putting that as the hidden variable value. But that also didn't work out
<input type="hidden" name="h1" id="h1" value= #a#>
What is that I am missng here?
Thanks in advance,