Forums

Forums / Developing Portals / Changing label of a widget dynamically

Changing label of a widget dynamically

Thread is closed for posting
3 posts, 1 answered
  1. smehdi
    smehdi avatar
    40 posts
    Registered:
    23 Mar 2015
    10 Nov 2015
    Link to this post
    Hi,
    Is it possible to change the label of a crm lookup / picklist widget through java script?
    Regards,
  2. Missing user
    Missing user avatar
    Answered
    10 Nov 2015 in reply to smehdi
    Link to this post
    Hi smehdi,

    It is possible to change the label of the CRM Lookup / Picklist widget through JavaScript.

    Here's an example:

     $(".CrmPicklist_C011").find( "label").text("I'm a new label");

    This same code will work for the Lookup as well. Hopefully this helps!

    Kind Regards,

    Chris Rooney.
  3. smehdi
    smehdi avatar
    40 posts
    Registered:
    23 Mar 2015
    10 Nov 2015 in reply to Missing user
    Link to this post
    This is great. Thank Chris
3 posts, 1 answered