Custom portal login form?

Posted by Rollbase User on 04-May-2012 09:48

Hi - is there a way to create a custom portal login form? I'm basically wanting to add a second button to the login form, that performs a custom action. I intend to link some JavaScript into the second button. I'm attaching a mockup image with the basic setup I'm envisioning. Thanks, Nathan

All Replies

Posted by Admin on 04-May-2012 10:23

You can try to create HTTP POST request which will simulate login request from portal. But this is not officially supported and will not be supported.

Posted by Admin on 04-May-2012 10:24

OK, I'll give it a shot. Thanks, Pavel.



Nathan

Posted by Admin on 04-May-2012 12:32

Hi,



Something more akin to standard would just be to hide the section where the loginform is placed and through html create your own form then through js map the input fields for username and password as well as submit and password reset. This way you can add all the custom code in forms that you'd want to have since your actual form is segregated from your custom form.



Hope this helps, btw, I've implemented this is a few portal projects in the past.

Piscoso, Martin

Rollbase

Posted by Admin on 04-May-2012 12:40

Ah, great technique Martin! Thanks for that.

Posted by Admin on 04-May-2012 12:42

No Prob

This thread is closed