Redirect Rules & User Journeys
Hey there, Tadabase users, it's Tim from Tadabase, and welcome back to another exciting episode of Build It with Tim!
In today's installment, we're diving into a powerful yet often underutilized feature that can significantly enhance the user experience within your Tadabase applications. We're talking about the art of directing and redirecting users seamlessly across various pages based on specific criteria.
Now, let's be real – we're all accustomed to clicking buttons and links to navigate through an app. But did you know that you can effortlessly automate this process to create a smoother user journey? In this video, we're going to unveil the magic of combining multiple features to achieve a seamless flow from start to finish.
Imagine this: A user signs up or logs in to your app. Rather than them wandering around, wondering where to go, you can direct them to the precise pages you want them to explore. And when they're done using the app, a clever redirect ensures they exit in style.
So, what tools are we wielding to pull off this magic trick? We're tapping into login redirect rules, form submission rules, page rules, and security setting redirects. But the true star of the show is the login redirect rule. This powerhouse ensures that when a user logs in with a certain role, they're whisked away to the ideal landing page for their role.
Now, let's break down the process. It's as easy as pie. First, locate any login component within your Tadabase application. Remember, every app comes with a default login page, so you're ready to roll. Open up that login component, select "login redirect rules," and create your rules.
Here's the scoop: You can set up rules to guide users with different roles to distinct pages. If they're a therapist, send them here; if they're a superuser, send them there; if they're a patient caregiver, well, they've got their own special place to go. With these rules set up, you're not only directing users but ensuring they're authorized to access the pages – all thanks to the magic of user roles and page security.
Don't worry, we've got your back for unauthorized trespassers. You can decide whether to display an error message, a custom message, or elegantly redirect them back to the login page.
But wait, there's more! When users logout from a secure page, they're gracefully guided back to the login page. It's all about that seamless transition.
And for those newcomers creating accounts, fear not! Tadabase's form submission rules got your back. In a signup component, under the rules tab, you can set up similar rules. Once again, based on roles, users are whisked away to the right layouts, even before their accounts are fully verified.
But the wonders don't stop there. Imagine creating a patient intake form. With submission rules, you can ensure users are directed straight to the relevant detail page after submitting the form. No more searching and clicking through!
To sum it all up, we've got an array of features in Tadabase that allows you to become a true maestro of user experience. Redirecting users, based on roles, across pages like a breeze – that's what we're all about.
Thanks for joining us today on Build It with Tim. Your apps are about to level up in the user experience game. Catch you next time, and remember, it's all about the flow!