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
Dilyan DimitrovDilyan Dimitrov 

Display message

Hello,

I would like to display message with particular information in Salesforce.

I have created a custom field of type text and made it read only but it does not allow me to display the message I want.

Please see the screenshot

User-added image

could you please advise how this can be achieved in Salesforce?

Regards,

Dilyan
Maharajan CMaharajan C
Hi Dilyan,

Can you please explain clearly.

Isthat you need to validate the value in that custom field or A help text in that Field.

Thanks,
Raj.
(Sweet Potato Tec)
Dilyan DimitrovDilyan Dimitrov
Hi Raj,

What I want to achieve is to display the following message  "Please type and enter the domains by separating them with a space (e.g "acme.com summit.com")." above the Domain field.

Could you please advise how this can be achieved in Salesforce?

Regards,

Dilyan
 
Maharajan CMaharajan C
Hi Dilyan,

Isthat right you requirement is like Adding a placeholder in the background of the Field.

Placeholder are used to display the messages in the Inside of the Field.

Or

If you want to Display error message in Field. i.e, Someone enter the value in that field is not correct before save the record.

Thanks,
Raj.
(Sweet Potato Tec)
Maharajan CMaharajan C
Hi Dilyan,

Do you want like this Shown in the below image.

User-added image

or

User-added image

Let me any Further Help...Isthat image 1 or 2...

Thanks,
Raj.
(Sweet Potato Tec)
Dilyan DimitrovDilyan Dimitrov
Hi Raj,

I would like to achieve the way it is done in the first image

User-added image

Could you please advise how this can be achieved?

Regards,

Dilyan
Maharajan CMaharajan C
Hi Dilyan,

Its a Visualforce page Dilyan am using the Below link to done this.
http://docs.releasenotes.salesforce.com/en-us/winter14/release-notes/rn_186_vforce_html5_code_sample.htm

Its not possible to add it to Custom Fields yet may but only you can add a Help text in the Custom Field without VF.

Otherwise You will use the validation rule to Show the Error message in the top of the field if the Input value is not correct.

Let me know  if you need any further help from me...


Thanks,
Raj.
(Sweet Potato Tec)
Dilyan DimitrovDilyan Dimitrov

Hi Raj,

I understand it will require to use a visualforce page to display the information inside the field but because you've have menitioned that is possible to use validation rule to show error message in the top of the field if the typed value is not correct. Could you please advise and give an example how to create such validation rule and what to include in the validation rule in order to display the message I need?

Thanks,
Dilyan