I have two input boxes. How do I find out if the user typed in anything in
those input boxes.
They might enter in data in the first box but leave the second one emtpy
and visa-versa. Based on what they type in and in which input box different
results are generated.
<cfoutput>
<cfform action="#cgi.script_name#" method="GET" name="form1">
<cfinput type="text" name="redirect" value="" size="16" maxlength="30"
class="dirlinks">
<input type="hidden" name="defined" value="">
<input type="submit" value="Jump" class="dirlinks" name="results">
</cfform>
<cfform action="test3.cfm?#mask#" method="GET" name="form2">
<cfinput type="text" name="filter" value="#filter#" size="16"
maxlength="20" class="dirlinks">
<input type="hidden" name="maskdefined" value="">
<input type="submit" value=" Filter" class="dirlinks">
</cfform>
</cfoutput>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists