function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
salesforce_newbiesalesforce_newbie 

Default value not displaying

Hi All,

 

I'm trying to set the default value of a custom field.  It is currently set up as a Long Text Area.  I just want to display some text.  I added the text to the default value formula box, surrounded by quotes.  However, the text isn't displaying on my page.  I had also tried to change this field type to Text Area(Rich) so I could add a link as well as the text but when I try that I get the error...

"Cannot change field type to rich text area where field is referenced in a Visualforce page or component using API version 17.0 or earlier."

 

Does any know why this is happening or advice on how to get my default value to display or change the field type so I can add a link?

 

Thanks in advance.

yudhvirmoryudhvirmor

 

 

Create new field of type Text or Text area and put  "I am trying to test it". Save and create new record. It'll be displayed. It looks like you are using visualforce page for Account , In that case you need to change the VF page and then the component class.