kendris Posted December 6, 2014 Share Posted December 6, 2014 I'm trying to get validation messages to display on the same page as my login form without any PHP within my login page, is that possible? Quote Link to comment https://forums.phpfreaks.com/topic/292933-validation-form/ Share on other sites More sharing options...
Strider64 Posted December 6, 2014 Share Posted December 6, 2014 JavaScript will do that and there are already some nice validation libraries out there on the web. 1 Quote Link to comment https://forums.phpfreaks.com/topic/292933-validation-form/#findComment-1498778 Share on other sites More sharing options...
kendris Posted December 6, 2014 Author Share Posted December 6, 2014 Yes, I know unfortunately it has to be done with 100% abstraction Quote Link to comment https://forums.phpfreaks.com/topic/292933-validation-form/#findComment-1498779 Share on other sites More sharing options...
hansford Posted December 7, 2014 Share Posted December 7, 2014 unfortunately it has to be done with 100% abstraction What does that mean - that it can't use a dynamic language? The web is static - a page is requested and the server fills that request and could care less about validation or anything else. However, along with the page, they also send headers which attach information about the request, including POST or GET data. But that information has to be processed in order to gain any benefit. So, without some dynamic language coming to the rescue, I am unaware of how that would be accomplished. Quote Link to comment https://forums.phpfreaks.com/topic/292933-validation-form/#findComment-1498813 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.