Important:
This support area is for Kalium 3 users only.
Support for Kalium 4 has moved to our new platform at support.laborator.co.
If you’re using Kalium 4, please create a new account there using your email and license key. A password will be sent to you automatically.
neon-register.js
Hi,
How can show a message after register, I receive an error occurred
This is from js
// We will give some time for the animation to finish, then execute the following procedures
setTimeout(function()
{
// Hide the description title
$(".login-page .login-header .description").slideUp();
// Hide the register form (steps)
neonRegister.$steps.slideUp('normal', function()
{
// Remove loging-in state
$(".login-page").removeClass('logging-in');
// Now we show the success message
$(".form-register-success").slideDown('normal');
// You can use the data returned from response variable
});
}, 1000);
Hi,
The registration form is only demonstration how the process can go through. Though it can be modified with your own steps and the code:
setTimeout(function() { // Hide the description title $(".login-page .login-header .description").slideUp(); // Hide the register form (steps) neonRegister.$steps.slideUp('normal', function() { // Remove loging-in state $(".login-page").removeClass('logging-in'); // Now we show the success message $(".form-register-success").slideDown('normal'); // You can use the data returned from response variable }); }, 1000);Only shows the success message:
https://d.pr/v/4sXaq3
You can assign this code in a function and call it right after the registration is completed:
function showSuccessMessage() { // Hide the description title $(".login-page .login-header .description").slideUp(); // Hide the register form (steps) neonRegister.$steps.slideUp('normal', function() { // Remove logging-in state $(".login-page").removeClass('logging-in'); // Now we show the success message $(".form-register-success").slideDown('normal'); // Any other task here... }); }It all depends how you setup the registration process. The sample code is in neon-register.js so you can edit or remove parts of the code that you don't need.