top of page

Forum Posts

Dhruav Mathur
Aug 15, 2022
In Coding with Velo
Hello WIX community, I have made a dynamic page from my database and I want make it such that when the user logs into their dynamic page, there would be a text saying "CLICK HERE" and I want to redirect them to a link which would be in the database. I am not sure on how to link a text to a web address from the database. It would be really helpful if I could get some solutions from y'all. Thank you
0
1
51
Dhruav Mathur
Jun 05, 2021
In Coding with Velo
Hello Wix Community, I've been wanting to make a login page in wix which checks the login inputs (email and password) with a database in which the login fields are stored. Then when the user clicks the log in button I want to log the user in with the wixUsers.login function. I've tried some codes but i'm not able to check it through the database and then login maybe because the database cannot be used for wixUsers. Please help me as this is a project which is very important for me
0
1
18
Dhruav Mathur
May 31, 2021
In Coding with Velo
Hello Wix Community I've been wanting to make a login page which requires a Email ID and Password, and the Login Details(Email ID and Password) would be stored in a wix database. Now I want it such that when the user logs in, there are 2 buttons that are shown, a logout button and a my profile button. Then when the user clicks on the My Profile Button, the user should be redirected to a dynamic page which shows the users details and only site members can access that dynamic page. And if the user clicks on the logout button he/she should get logged out of the account. I was following this post: But this doesn't seem to work and I also don't want the signup and google sign in things. Can someone please help me code this out as it is very important for me?? Thank You
0
1
205
Dhruav Mathur
May 25, 2021
In Coding with Velo
Hello Wix Team, I am trying to make a page where the user inputs 2 fields and when the submit button is pressed, it checks those fields with a wix dataset and if it is matched then it should redirect to a dynamic page which is also from wix dataset I have found this code till now import wixData from 'wix-data'; import wixLocation from 'wix-location'; export function gg_click(event, $w) { let username = $w('#name').value; let password = $w('#lname').value; wixData.query("Profile") .eq('firstName', username) .eq('lastName', password) //make sure the field names that you search in the query //are the same as the actual fields in the data base. .find() .then((results) => { if (results.items.length > 0) { wixLocation.to(`/profile/` + firstName); // using the wix location API, // make sure you return the full destination URL } }) .catch((err) => { console.log("err", err); }); } Screenshot: Please Help me as I have to make this page urgently. Thank you
Compare 2 input fields to a wix database  content media
0
18
231

Dhruav Mathur

More actions
bottom of page