+ 3

How can I insert content after the login form?

After signing up .......what next?

25th Nov 2020, 9:38 AM
Meshack
10 Answers
+ 1
Eg o submit return credentials () //JavaScript credentials (){ //Get the credentials and display them as variables Var credentials = input document.write.(credentials);
25th Nov 2020, 11:52 AM
🥇👩‍💻 Kintu Michael Evans 🔥🔥( Active)
🥇👩‍💻 Kintu Michael Evans 🔥🔥( Active) - avatar
+ 2
Thankyou very much 👍
28th Nov 2020, 10:03 AM
Meshack
+ 2
After 11 months of asking this question I just came back to see what i’ve learnt. It's really helpful and this question really helped me to learn a lot. So as 🥇👩‍💻 Kintu Michael Evans 🔥🔥( Active) had answered it is very true to state that we use the I submit attribute. What I learned is that you create a function in Javascript code whereby it can execute what would happen thank you everyone. Don't mind if it’s after a year that am reacting 😂.
3rd Oct 2021, 1:07 PM
Meshack
+ 1
You can use the onsubmit attribute
25th Nov 2020, 9:56 AM
🥇👩‍💻 Kintu Michael Evans 🔥🔥( Active)
🥇👩‍💻 Kintu Michael Evans 🔥🔥( Active) - avatar
+ 1
Do you mean you want to redirect the user to main page after signing in ?
25th Nov 2020, 11:38 AM
Hima
Hima - avatar
+ 1
I mean that ; after the user fills the login page, he/she is directed to the content of the page . e.g after logging in a Facebook account you get the details/information
25th Nov 2020, 11:45 AM
Meshack
+ 1
Use JavaScript
25th Nov 2020, 11:47 AM
🥇👩‍💻 Kintu Michael Evans 🔥🔥( Active)
🥇👩‍💻 Kintu Michael Evans 🔥🔥( Active) - avatar
+ 1
12th Oct 2021, 7:36 PM
🥇👩‍💻 Kintu Michael Evans 🔥🔥( Active)
🥇👩‍💻 Kintu Michael Evans 🔥🔥( Active) - avatar
+ 1
Meshack Kiprono since u can understand what I say well do this u can use JavaScript only or use a backend Facebook uses php If you are to use js use an online database and check if the user credentials match the database stored somewhere Js code Credentials_match() { // get the user input and and use a fetch listener fetch (path-to-your-database/user-input) if fetch is True { Redirect to next page} else { Return error} } hope it helps
12th Oct 2021, 7:42 PM
🥇👩‍💻 Kintu Michael Evans 🔥🔥( Active)
🥇👩‍💻 Kintu Michael Evans 🔥🔥( Active) - avatar
13th Oct 2021, 6:39 AM
Meshack