How could I show a validation error for a text field of a form even before pressing submit button, using ajax ?
As shown below.
if you post some code somebody would help you i believe
Last edited by Padonak; 11-11-2013 at 08:13 AM.
signature under construction
You wouldn't use AJAX directly as you are not sending data anywhere.
The advice so far has been to ask you to post some code that you have created already and when you do, remember the forum tags to wrap the code, these are buttons available in the advanced editor and also in the quick reply window but you can just as easily use them directly, Eg...
[ HTML ] ... code here [ /HTML ] (without the spaces) same applies to CODE and PHP tags. If you mess up, you have a short window of time to edit your post.
... and please remember to wrap code with forum BBCode tags:-
[CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]
If you can't think outside the box, you will be trapped forever with no escape...
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)