Getting field values into javascript on the page

  • 0
  • 1
  • Question
  • Updated 4 months ago
  • In Progress
I've noticed in some posts, that there is a notation to get the value of fields dynamically while running JavaScript on the page, IE: iol technique...

However, I've been unable to get this notation correctly to be able to recreate.

I've attempted similar to this:

var link = $("#_fid_12").val();

console.log(link); but this always comes back undefined or errors out entirely
Photo of Ryan Stanford

Ryan Stanford

  • 1,692 Points 1k badge 2x thumb

Posted 5 months ago

  • 0
  • 1
Photo of Wendy Shoef

Wendy Shoef

  • 660 Points 500 badge 2x thumb
I have the same issue with some fields. Is the field in the table associated with the form or is it a linked field to another table?
Photo of Ryan Stanford

Ryan Stanford

  • 1,692 Points 1k badge 2x thumb
It's a field on the form itself. It may be a lookup field, but it's still a regular field on the table. I've since moved away from this method, so I haven't resolved this question.