Hi!
I need to validate a login form in this version... It doesn't seem that <!--@Server:Request.Username--> is parsed? So how would you guys display an error message on postback??
Hi!
I need to validate a login form in this version... It doesn't seem that <!--@Server:Request.Username--> is parsed? So how would you guys display an error message on postback??
Query string keys are always lower case, so maybe <!--@Server:Request.username--> gives you what you need?
Imar
Well it gives me what I need when it's entered. But I'm trying to get a "not" version...
And can't update the version because of some integration project that would break if Idid...
<!--@If Not(Server:Request.username = "")>
<!--@If Not(Server:Request.password = "")>
<!--@If(Global:Extranet.UserID == 0)-->
<script type="text/javascript">
$(document).ready(function(){
$('.login-error').css('display', 'block');
});
</script>
<!--@EndIf--><!--@EndIf--><!--@EndIf-->
So I can't use <contains> and I can't use && either... If the value isn't entered I don't get "" I get <!--@Server:Request.username--> (if I try to output it)....
You must be logged in to post in the forum