Skip to main content
Question

Alert Pop-ups using JavaScript

  • April 14, 2015
  • 0 replies
  • 39 views

I would like to use http://tristanedwards.me/sweetalert to format my JavaScript alerts. Has anyone tried to use this before?

This topic has been closed for replies.

  • Registered
  • May 21, 2015
How are you planning on using this within your QuickBase setup?

  • Author
  • Registered
  • May 21, 2015
I would like to use this script to replace the standard JS prompts.

  • Registered
  • May 21, 2015
Understood. I was more curious how you would implement it within QuickBase, meaning what prompts would you replace and specifically where would it be housed in your application for access. I'm just trying to find out more details regarding your intention so I can see if this might be possible.

  • Author
  • Registered
  • May 22, 2015
I have many formula buttons utilizing the edit record API call. The majority of these buttons ask for user input through the standard javascript prompts. I started by hosting the sweetalert js and css scripts as custom code pages. Unfortunately, without using the image onload function, I can't call the js and css scripts on the record forms. I also think it could be more informative than the jgrowl notifications.

  • Registered
  • May 22, 2015
That's correct then. The only way to access custom JavaScript, jQuery, CSS, etc. code would be the image onload technique.

To answer your original question though, I've not tried using this code specifically but it looks awesome. I'll pass it along to our product development team to see if it's something we want to incorporate into QuickBase at some point in the future.

  • Author
  • Registered
  • May 22, 2015
Awesome - thanks for the follow-up!