Forum Discussion

RandyGibbons's avatar
RandyGibbons
Qrew Trainee
4 years ago
Solved

IOL working (JSON) would like to save to field in form

I was able to use IOL and read in the data from the JSON API using the model.js (below), pass a variable (satellite) and see the data in the console after pressing the button (props to Diebolt! and hi...
  • SamJones1's avatar
    4 years ago
    Hey Randy,
    First off, I'd avoid Image on Load. It'll break at some point in the future.

    That said, if it's writing to the console successfully, you should be able to add this:

    $("#_fid_7").val(resp.latitude)​

    And that should add it to the record that's on the screen.


    ------------------------------
    - Sam

    ______________________________________________
    Sam Jones
    Vice President, Product and Technology
    he/him

    The Data Collaborative, Inc.
    sjones@datacollaborative.com
    366 Massachusetts Ave, Suite 203 | Arlington, MA 02474
    ------------------------------