I'm trying to set a link to preset a field on my form. For example if they click "Oracle ticket", it opens the form with Oracle already populated. (This field is a choice, drop down list)
I found a post saying to use This code:
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
// Replace SingleLineText0 with teh internal name of the field
// 'id' is the name of the parametr
fd.field('Case_x0020_Category').value = urlParams.get('id');
And the URL I add &id=1 and nothing happens. I have 2 form sets and I have set the JS on both of them and still can't get it to trip.
Here is the URL I'm using with the domain X'ed out.