Alerts as cards

Hi
is there anyway to setup “alerts” as cards? I have seen the normal alerts as popups and the toasts and modals, but personally prefer non pop up type events and just a success / info card at the top of the form, but I cant seem to find anyway to do this? So on form submission it would display the success card.

Thanks in advance
Darren

Well, if you create a card and style it the way you want it to be, you could aways just use dynamic settings and events like Show/Hide or Animated region etc so that it triggers on success of a form load.

So, if you placed a card above your form, but have it hidden normally, then trigger the Show event when the form is a success. That would then show the card. You would then place a close or X button in the card and have that Hide the card again.

would that work for you?

1 Like

thanks. I got it working, it was working out how to hide the card and show the card, but in the end i just had to show the card on success, was simpler than I thought :slight_smile: thank you for taking the time to reply and pointing me in the right direction.

all the best
Darren

2 Likes

No worries. If you are just using the show/hide dynamic attributes, keep in mind that by their nature, CSS transitions don’t work with them. So if its not looking as smooth as you’d would like, you could also look into using the Animated Region element in Wappler.