Where do I put the Javascript?

Comments

4 comments

  • Official comment
    Jacquelyn May

    Hi Shannon,

    Put the Javascript directly into the Calculation field in the app template :) Check out this article for the basics:

    https://help.podio.com/hc/en-us/articles/201019358-Calculations

    /Jacquelyn - Podio

    Comment actions Permalink
  • Shannon Lynd

    I have read this article several times and looked at the linked forum discussion, but I'm still at a loss.

    If I have a simple javascript statement for testing purposes: <script type="text/javascript">alert("test");</script>
    The editor doesn't let me save it there.
    Do I create a function and call it? If so, where do I put the function?

    0
    Comment actions Permalink
  • Shannon Lynd

    I think I got it. This simple example seemed to work.

    function testing(mytitle) {
    var thetitle = mytitle
    return thetitle;
    }
    testing(Title);

    0
    Comment actions Permalink
  • Rich Albrecht

    Shannon,

    Have you done any javascript using podio fields? I struggling.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk