Copy link to clipboard
Copied
Hello, i am new to dreamweaver, so i have learend the dreamweaver feature for login, but i have a problem that i cannot display any pop up message if the user login succesfuly or vice versa. can someone help me?
Copy link to clipboard
Copied
See JavaScript Popup Boxes. Decide which type of Popup you want.
https://www.w3schools.com/js/js_popup.asp
Hope that helps.
Copy link to clipboard
Copied
To display a pop-up message in Dreamweaver after a user logs in, you can use JavaScript. Here’s a simple example:
<script>
function loginSuccess() {
alert("Login successful!");
}
function loginFailure() {
alert("Login failed. Please try again.");
}
</script>
Copy link to clipboard
Copied
What tutorial did you follow for a login? If you are using the server behaviors functionality you may want to reconsider that code as it is out of date. I would recommend a CMS or looking into a provider for login functionality as this will more closely tie into your site as opposed to building things out in pieces from tutorials and instructions that may not be compatible with one another.
 
					
				
				
			
		
 
					
				
				
			
		
Find more inspiration, events, and resources on the new Adobe Community
Explore Now