hi as in title, there's a method to check in ajax if username or email is already used?
Hi alfredacino,
You can do it using AJAX in the form or with Custom Serverside validation after the form is submitted.
There's an AJAX example in this paid tutorial.
Bob
You can do it using AJAX in the form or with Custom Serverside validation after the form is submitted.
There's an AJAX example in this paid tutorial.
Bob
thanks, and if i would just show onsubmit the various errors (server side) that the user could do?
I mean the errors the debugger print, how can i set this visible to the user?
user name already taken, wrong email form, password verify don't matched, uploaded file size exceeds the allowed limit...
I mean the errors the debugger print, how can i set this visible to the user?
user name already taken, wrong email form, password verify don't matched, uploaded file size exceeds the allowed limit...
Hi alfredpacino,
You can use the Custom Serverside Validation action in ChronoForms to run your own tests and show your messages.
Bob
You can use the Custom Serverside Validation action in ChronoForms to run your own tests and show your messages.
Bob
i know🙂
but these arent'my custom validation.. i mean the default server validations already in.
i didn't set any username server validation (or email form), but i see in debugger
i want to set these messages visible to the all users, without debugger.
but these arent'my custom validation.. i mean the default server validations already in.
i didn't set any username server validation (or email form), but i see in debugger
Validation Errors:
Array
(
[0] => Nome utente utilizzato
)
Debug Data
Couldn't save new user, Joomla returned this error : Nome utente utilizzato
i want to set these messages visible to the all users, without debugger.
Hi alfredacino,
Please add an Event Loop action to the pink On Fail event of the Joomla! Registration action.
Bob
Please add an Event Loop action to the pink On Fail event of the Joomla! Registration action.
Bob
i really appreciate your support, man.
some sample easy forms (joomla registration, file upload, a simple custom js validation) would help many users for these issue and save your time and forum db space🙂
all those actions are not so easy to understand: where they have to placed and what they do exactly
some sample easy forms (joomla registration, file upload, a simple custom js validation) would help many users for these issue and save your time and forum db space🙂
all those actions are not so easy to understand: where they have to placed and what they do exactly
Hi alfredacino,
Most of those are covered in FAQs, some with videos. There's a PDF Tutorial for Joomla! Registration which includes the Event Loop step. (Though I see the link from the FAQ is broken since the site upgrade :-(
Bob
Most of those are covered in FAQs, some with videos. There's a PDF Tutorial for Joomla! Registration which includes the Event Loop step. (Though I see the link from the FAQ is broken since the site upgrade :-(
Bob
Hi I just purchased your paid tutor, but it is not working, maybe because I'm doing something bad, sorry I'm mew here.
I'm using the advanced wizard and I put the "Load JS" with the code of your tutor in the event "ON LOAD" and I created the event "ajax"with the PHP database query on that event.
Now I double checked the variables, the database connection, etc etc but the sample is not working😟, nd nothing happen, please maybe yu can clarify the thing
Tank you
I'm using the advanced wizard and I put the "Load JS" with the code of your tutor in the event "ON LOAD" and I created the event "ajax"with the PHP database query on that event.
Now I double checked the variables, the database connection, etc etc but the sample is not working😟, nd nothing happen, please maybe yu can clarify the thing
Tank you
Hi vivora66,
Please post a link to the form so I can take a quick look.
Bob
Please post a link to the form so I can take a quick look.
Bob
Something is wrong with the returning function
Allways, scritp after the AJAX PHO functions goes to r<>'ok' displaying my from in red
onComplete: function(r) {
// check the result and set the background color
if ( r == 'ok' ) {
pepinous.setStyle('background-color', 'green');
} else {
pepinous.setStyle('background-color', 'red');
}
}
Allways, scritp after the AJAX PHO functions goes to r<>'ok' displaying my from in red
hi this is the link
http://www.boliviabox.com/index.php?option=com_chronoforms&tmpl=component&chronoform=suscripcion_usuario
In checking the "Nombre de Usuario" field to chek in my DB id the user is "IN USE", just works checking the length of characters, puting yellow when it is lower than 6 chars, whein it is over 6 goes to the AJAX function but always it is returning "IN USE" because the color of the form is in RED ALWAYS, is like the function always check the DB returns a "IN USE" value
Please letme know how I can show the return value to be sure maybe in the upper part of field
http://www.boliviabox.com/index.php?option=com_chronoforms&tmpl=component&chronoform=suscripcion_usuario
In checking the "Nombre de Usuario" field to chek in my DB id the user is "IN USE", just works checking the length of characters, puting yellow when it is lower than 6 chars, whein it is over 6 goes to the AJAX function but always it is returning "IN USE" because the color of the form is in RED ALWAYS, is like the function always check the DB returns a "IN USE" value
Please letme know how I can show the return value to be sure maybe in the upper part of field
This topic is locked and no more replies can be posted.