Add IFRAME to a form, system and custom entities plus format IFRAME

This is a great piece of code I put together by merging two sets of code. Basically the following creates an IFRAME and formats the IFRAME in a professional manner. // Builds a string for the source attribute of an IFrame // Credit is given to Michael Hohne and Andrew Zimmer for the following code. [...]

CRM 4.0 Concatenate Lookup Fields or regular fields on Form

Found a couple of solutions posted in the MS forums on this post, I had the best luck with the following: To start update new_OpportunityID and new_ContactID with your fields, this example concatenates the Opportunity ID and Contact ID lookup fields. var lookupItemOppID = new Array; lookupItemOppID = crmForm.all.new_OpportunityID.DataValue; var vOpportunityID= (lookupItemOppID[0] != null) ? [...]