<% If condition = "yes" then %> <form method="post" action="whatever.asp"> <!-- more html here --> <% Else %> <!-- more html here <% End If %>