Can I make the SharePoint form interactive?

100 views Asked by At

I have a custom list where the value in the first column determines which other columns should have value. Or rather, the record type(as selected in the first column) defines what all data I should collect in the form.

I want to continue using the default/designer form for the list.

Is it possible to manipulate the form fields using JavaScript after identifying the value selected in the first column?

EDIT: When I create a new form, I am able to add javascript, and show/hide fields. However, I can't figure out how to read the fields in javascript.

1

There are 1 answers

1
Baker_Kong On

I guess the easiest way is to use jQuery. You just have to refer jQuery in your form then you can fetch the field from title or name attribute whichever is applicable.

$("input[title='title_of_the_field']").val()