Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Putting text in input field programmatically

$
0
0

Hi,

I am working in the account form. I need to put the value of my variable "str" in the search field as shown below in the picture. So I put the text "TESTACCOUNT" in the variable "str", no issues there.

The issue is getting the var str in that search box. So my goal is to filter the records according to str value.

I have tried the following 2 javascript lines but have no luck with either.

1. Xrm.Page.getAttribute('ShipmentReportsInformation_findCriteria').setValue(str)

2. document.getElementById("ShipmentReportsInformation_findCriteria").value = str;

Any idea on how to achieve this?

Kind regards


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>