Dan Rosenstein:
trying to replace an ‘alert’ JS with a bf.showModal inside a named action and getting errors. Is this not possible? (alternatively, if I can change the default alert title ‘domain.fmbetterforms.com:’ that would do to)
Dan Rosenstein:
Neil Manchester:
I found a great library called Sweet Alert for triggering alerts via JS. Post on the BF Forum showing how to do it and some example images if it’s of any interest.
https://forum.fmbetterforms.com/t/sweet-alerts-notifications/842
Dan Rosenstein:
cool, will check it out. thanks
Dan Rosenstein:
have you tried it in a named action?
Neil Manchester:
Yes. Used it loads within the function snippet. You can then trigger other named actions depending on the users choice using the bf.namedAction call. Examples in the post
Neil Manchester:
Also can be called from within FileMaker
Dan Rosenstein:
very nice!
Neil Manchester:
Lots of examples on their website too
Dan Rosenstein:
Dan Rosenstein:
very nice - works. I was thrown off because I took your example to test, as is, and it is missing a comma after the ‘title’ so was throwing all these errors
Neil Manchester:
Ah right ok. Will update the post to fix