Missy
2015-04-08 10:29:27 UTC
Hi,
I am writing to seek some guide, as I would like to know, how I can make the visibility for the following input tag false (<input type="submit" class="button1" value="Next" />),under the following condition:
<% If request("m") = 3 and strEmailAddress <> "" Then %>
the page loads, showing the form, however I am little unsure, how can I make the submit button invisible, when the first if condition is met.
Whole Script
---------------
<div class="threequarters_right border">
<h2>Stage one - Email Address</h2>
<% If request("m") = 3 and strEmailAddress <> "" Then %>
<% elseIf request("m") = 1 and strEmailAddress <> "" Then %>
<%end if%>
<div class="small_form short_fields">
<form id="form1" name="newuser" method="post" action="free.asp" onsubmit="return checkNewuserForm();">
<label for="txtbx_email">Email address</label>
<input type="text" id="username" name="emailaddress" value="<%=strEmail%>" class="short_field" /><br />
<label for="txtbx_email2">Confirm email:</label>
<input type="text" id="username" name="emailaddress1" class="short_field" value="<%=strEmail%>" /><br />
<input type="submit" class="button1" value="Next" />
</form>
</div>
</div>
Any advice would be very much appreciated. Thank your for your time and assistance.
I am writing to seek some guide, as I would like to know, how I can make the visibility for the following input tag false (<input type="submit" class="button1" value="Next" />),under the following condition:
<% If request("m") = 3 and strEmailAddress <> "" Then %>
the page loads, showing the form, however I am little unsure, how can I make the submit button invisible, when the first if condition is met.
Whole Script
---------------
<div class="threequarters_right border">
<h2>Stage one - Email Address</h2>
<% If request("m") = 3 and strEmailAddress <> "" Then %>
<% elseIf request("m") = 1 and strEmailAddress <> "" Then %>
<%end if%>
<div class="small_form short_fields">
<form id="form1" name="newuser" method="post" action="free.asp" onsubmit="return checkNewuserForm();">
<label for="txtbx_email">Email address</label>
<input type="text" id="username" name="emailaddress" value="<%=strEmail%>" class="short_field" /><br />
<label for="txtbx_email2">Confirm email:</label>
<input type="text" id="username" name="emailaddress1" class="short_field" value="<%=strEmail%>" /><br />
<input type="submit" class="button1" value="Next" />
</form>
</div>
</div>
Any advice would be very much appreciated. Thank your for your time and assistance.