Jquery function for login form

1 reply · opened Mar 23, 2017

TtriplewhatMar 23, 2017

Do you have or could you make a jquery function that will display error messages after someone tries to login on the login-register.html page. I have a php script made to create the errors but I don't know how to display them back on the page after the script is processed

SSemicolon WebSTAFFMar 31, 2017

Hello,

This is Definitely Possible! You can simply consider using the existing Contact Form functionality by adding the .contact-widget Class to the Container that includes the Login Form. Additionally, also add the .contact-form-result Element inside this Container so that the Messages are Properly displayed. Example:


	

	

		

		... Form Inputs

	

You can simply use the include/sendemail.php File to follow the Structure of the Message Output (JSON) but you can definitely use the Rest of the Processing Code according to your needs.

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard