I have a custom button and when the button is pressed the following javascript is executed:

            CF00N2a000000b34C=Account.Custom_Number_Field __c

If I remove the CF from 00NK0000001jyxH=TEXT(Account.Schedule__c) I receive the following error message:

Error: Syntax error. Missing field name

I do not see what is the reason of such error message.
Could you please advise what I can do to avoid such error message and solve my issue?

  • Probably complaining because it needs single quotes for values which cannot be resolved, try 'CF00NK0000001jyxH='+TEXT(Account.Schedule__c)
    – Raul
    Commented Jan 3, 2019 at 13:40
  • 1
    It works with having CF why you wanna remove it? CF is the prefix for fieldAPIName Commented Jan 3, 2019 at 14:26

1 Answer 1


Thank you Pranay Jaiswal. I decided to keep the CFprefix

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .