Pass Value from one Textbox to another RRS feed

  • Question

  • I have a textbox with a value in it and the onChange event causes javascript to run which takes whatever the new value of textbox1 is and sets this value as the value of textbox2.

    This happens fine for most users but for some users it doesn't happen and I don't know why as all PC's are the same.

    Anyone know what might be wrong or can I do this using a process?


    Monday, December 22, 2014 2:25 PM

All replies

  • Hi,

    Did you check those users' computers' IE settings. Check whether their computers script disabled.



    Sachith Chandrasiri

    Tuesday, December 23, 2014 12:55 AM
  • Hi,

    We had kind of same problem in our organization too, Then finally we found that the issue creating users were using firefox or other browsers instead of IE, and few modifications in the java script like use of 'compulsory saving' functions helped to resolve the issue.



    Tuesday, December 23, 2014 6:16 AM
  • Thanks for the replies but the Script debugging is disabled.

    All our users use IE only but loads of different versions across the organisation.

    We are using Fetch xml to get the value of a lookup and passing it to a text field. It may be in this that we are having the error?
    • Edited by JMcCon Tuesday, December 23, 2014 9:25 AM
    Tuesday, December 23, 2014 9:23 AM
  • Hi,

    give a try by using setSubmitMode.


    Also mention crm version?

    Hope this help..


    Tuesday, December 23, 2014 9:44 AM
  • It seems that the problem is with this line in the Fetch XML

    var resultMeeting = resultDoc.selectSingleNode("dcc_meetingdate").nodeTypedValue;

    I have read online that .nodeTypedValue is no longer supported.

    Anyone know anything about this?

    Tuesday, December 23, 2014 12:07 PM
  • Hi JMcCon,

    In above mentioned code line, you are using selectSingleNode, which is also be no longer supported.So please update the code lines with supported ones, then check whether your issue resolved or not.

    Hope this will work for you.

    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

    Tuesday, December 23, 2014 12:33 PM
  • Hi,

    you are using 2011 cone in crm 2013.

    try with below sdk example.

    function LoadEvent()
          var sLookupValue = new Array();
         if (Xrm.Page.getAttribute("new_lookupfield").getValue() == null)
         { return ""; }
         sLookupValue = Xrm.Page.getAttribute("new_lookupfield").getValue();
         if (sLookupValue[0] != null) {
             var vLookid = sLookupValue[0].id;

     function retrieveAccount(vLookId) {
          null, null,
          function (customentityname) {     

     function errorHandler(error) {

    You need to add supporting jquery, jquery1.4.1min and json files.


    Also refer this..



    Hope this help..

    • Proposed as answer by Suresh Sorde Tuesday, December 23, 2014 1:05 PM
    • Unproposed as answer by JMcCon Tuesday, December 23, 2014 1:41 PM
    Tuesday, December 23, 2014 1:04 PM
  • Kamal Thanks for the reply.

    But do you know what the supported code is that I should be using in CRM 2011 ?

    Tuesday, December 23, 2014 1:41 PM