Tagged Content List

CRM 2011 Error handling, OnLoad Javascript code

Good afternoon, Evening to all reading, I am attempting to re-create a form entirely, as one section, could not be re-added normally without being re-created from scratch. As a result it is requiring my to change my JavaScript code, which has worked in the past. A picture of my error message is below...
Forum Thread | on 29 Jan 2015 by H.Evans2.14

JavaScript In Onload

I use the code Xrm.Page.data.entity.save() during OnLoad so that the record is automatically created. This is needed as a workflow is triggered when the record is created to update some fields. 1. Is there a better way of doing this ? When I click the + to add a record on the subgrid, I am shown a...
Forum Thread | on 22 Nov 2014 by henda79

onload fails to hide cells.

I have 3 picklists: "off_udbud" "off_forlngelse" and the standard "opportunityratingcode". Depending on the value in picklist 4, one list is unhidden by the onload-klient skript I get this message: "Error, 'list 4' is not defined." salgsproces = list...
Forum Thread | on 11 Nov 2009 by Jakob Kristiansen

Javascript errors after Upgrading from CRM 4 to CRM 2011

After a successful upgrade from CRM 4 to CRM 2011 everything is working fine except we keep getting javascript onload errors in almost all dialogs including lookup ones. for example when clicking the new button of the contacts the dialog appears and works fine but it shows this error: There was an...
Forum Thread | on 4 May 2011 by Ziwar Majid

Change font of read-only fields in a Form.

We have certain fields that are read-only as they pull data from our AS400. The default font of a read-only field is a very light grey and is very hard to read. How do I make this font darker and easier to read? I have come across this .js but have not been able to get it to work: function setColor...
Forum Thread | on 28 Aug 2012 by Joe Dubs

Updated Forms (Polaris) - Hide/Show fields

What is the correct way to show / hide form fields based on the value of another field on form load when using "updated forms"..? At the moment we use JavaScript but this reverts the form back to the Classic style whereas the user would like to use the new process style.
Forum Thread | on 5 Sep 2013 by redstephen69