Concatenation of field entries

This question is not answered

Hi,

I wanted to concatenate 2 text box entries P# and part description onto a single field - 'description' and display the value.

Can someone help me on this please?

All Replies
  • Alex

    I am going to make the assumptions that you are looking at a summary screen in view mode.  

    I have assumed that you have 3 fields

    xxxx_partnumber

    xxxx_partdescription

    xxxx_description

    xxxx stands for the column prefix.  Let's assume that the screen is called XXXXBoxLong.

    I make the further assumption in that

    XXXX_partnumber and xxxx_partdescription have values

    xxxx_description is null and is not used to store data.

    <script>

    crm.ready(function(){

    /////////////

    crm("xxxx_description").text(crm("xxxx_partnumber").value()+crm("xxxx_partdescription").value())

    /////////

    })

    </script>


  • Thanks a lot Jeff. It worked.

  • thank you for your help it worked

    soundcloud downloader

  • Fab - worked for me too