Forum Discussion

MichaelTamoush's avatar
MichaelTamoush
Qrew Captain
4 years ago

Possible To Display Message on Button Push, then continue with APIs?

Is it possible to display a message (the only way I know is using "javascript: alert('Text Here')"), and then run apis?

I tried something like:

var text AddRecord = Add Record API and conditions;

"javascript: alert ('Test')"
& "&NextURL=" & URLEncode($AddRecord)

But that failed. Not sure if this is possible?

------------------------------
Mike Tamoush
------------------------------

2 Replies

  • No, if you are trying to insert javascript into a formula field, I would stop doing that now. It will not work in the future.

    Can you tell us the purpose of the alert on the button? We might be able to help you with other solutions if we can understand the problem better.

    ------------------------------
    Everett Patterson
    ------------------------------
    • MichaelTamoush's avatar
      MichaelTamoush
      Qrew Captain
      Yeah I forgot they are disabling javascript. Ill go another route. Thanks!

      ------------------------------
      Mike Tamoush
      ------------------------------