Questions tagged [text]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
198 views

Line break in a property of JS in Lightning accordion

Is it possible create a line break in a property of a JavaScript object? Like this: const test= { name: account.Section__r.Name, label: account.Section__r.Name + '\n' + account....
user avatar
  • 165
0 votes
1 answer
63 views

How to prevent Content Builder plain text from designating the same link to an AMPscript variable?

The AMPscript is set up like this in Content Builder. Example: Content Block 1 SET @linkButton = "link1.com" Content Block 2 SET @linkButton = "link2.com" Content Block 3 SET @...
user avatar
  • 21
1 vote
1 answer
159 views

How to wrap cell text properly in datatable in LWC?

I'm struggling with the issue, where cell text in the datatable in LWC isn't wrapping correctly. It obscures the cell from the next column in some cases. I didn't applied any formatting for that table ...
user avatar
  • 11
0 votes
0 answers
206 views

Styling for lightning-formatted-rich-text - Display inline

Is there a way that I can get these items to display in the same line? The lightning rich text value by default throws itself into a new line : Code Subset : <div class="aob_required-actions-...
user avatar
0 votes
1 answer
28 views

Extra textbox before input component

It seems that there's an extra textbox that I can type into, but I'm not sure what's causing it in the code. I only get to this extra textbox when tabbing through elements on the page. I have added ...
user avatar
  • 25
0 votes
2 answers
648 views

Apex Error: Illegal assignment from List<String> to String

I have a requirement to fetch Contact Region from Contact and update the same on User. Here is my logic: list<user> user = [SELECT name,Region__c from User where isactive = true]; Set<...
user avatar
0 votes
1 answer
25 views

Restrict user from entering tab in a textfield using regular expression [closed]

I want to restrict the user from entering a tab in a text field using regular expression.
user avatar
  • 101
0 votes
1 answer
6k views

How to check if a text field is not null, not empty, doesn't contain white space in SOQL

How to check if a text field is not null, not empty, doesn't contain white space in SOQL? Other than using something like, AND (field__c != null AND field__c != '' AND Field__c != ' ') in the WHERE ...
user avatar
  • 610
0 votes
2 answers
535 views

Salesforce updating String field value with null when forced with an empty String

I noticed when you force an existing text field value with an empty String, instead of it's becoming an empty string it's becoming a null value. For example, try below in Execute Anonymous. Savepoint ...
user avatar
0 votes
1 answer
350 views

Text field dependency from picklist

I am aware that field dependencies can only be created on Picklist and checkbox fields. What I am trying to achieve is the following: when a certain value from a picklist field is selected, some TEXT ...
user avatar
  • 305
0 votes
1 answer
43 views

question about .Contains()

I have a quick question in regards to using .Contains(). I'm writing an if statement and need to update a text field if it contains "VA". However, if it contains "IVA" it shouldn't ...
user avatar
2 votes
1 answer
1k views

How can I get the User ID from a text field which has the user name? Can I get it using a formula field?

I am trying to populate the "Recruiting Lead" field which a lookup field. My use case is that when a new lead enters the system via referral, i.e Channel is Email Referral, Source is Email, ...
user avatar
  • 23
1 vote
0 answers
527 views

Changing field from Text Area to Text Area (Long) results in cannot change type due to data loss. Why?

On a sandbox I commented out references of a text area field from : ApexClass, ApexPage, EmailTemplate, 2 Flows, and a layout. I then was able to make the change of the data type just fine. Now when ...
user avatar
  • 471
2 votes
1 answer
166 views

Is there a native line break for Salesforce?

I'm having some text area fields that are populated via some external service via the API and also by the users who sometimes create new records, as well as changing existing ones. Via the API I can ...
user avatar
  • 1,966
1 vote
1 answer
642 views

Salesforce Convert a Text to a Formula Field

I want to change a Text Field to a picklist. I know how to actually change the field type however I have several Formula fields that reference the Text Field so when I try and change the field type, ...
user avatar
0 votes
1 answer
342 views

Is it possible to use <pre> / <code> preformatted text field within a LWC component HTML file?

I'm trying to display code as text, unrendered. However, when I use the <pre> or <code> tag with html tags within it, LWC is rendering what is inside those tags in the browser instead of ...
user avatar
  • 3
1 vote
0 answers
127 views

Download Html + Blob image as text

On my VF page, I need to save to SF an html code with a signature represented as a blob (drawn with HTML5 Canvas) as a text file (preferably MS word). Right now, I'm not sure if this should be ...
user avatar
  • 1,443
0 votes
2 answers
1k views

Display 'Assigned To' field of task in text format into LWC

I have created LWC where i need to display task field 'ASSIGNED TO' in text format. but I am getting error as "Unsupported reference Task.Owner.Name of type sobjectField in file ...
user avatar
  • 27
0 votes
1 answer
371 views

Data Loader error- (ID: value not of required type: 425.0.)

I'm trying to import a file with Data Loader into a Standard object and I get the errors as follow: ID: value not of required type: 425.0. The Data Type is TEXT in salesforce. In the CSV import ...
user avatar
-2 votes
2 answers
6k views

make text highlighted red & bold if criteria is met?

i have a requirement that if my text field has a certain value it should be displayed highlighted red and bold. at first thought i'm thinking i have to change the field type to a formula field that ...
user avatar
  • 15
2 votes
1 answer
3k views

What does a URL field do that a text field doesn't?

What are the benefits of using the URL field type rather than a text field named "URL"? I did research but only found that they're limited to 255 characters (whereas real URLs are not). I also found ...
user avatar
  • 303
1 vote
0 answers
34 views

Send text into the Email text editor from a lightning component [closed]

I have to send a predefined text into the email text editor when the user clicks something (On the Case page). It seems that there is no way to do it from an lwc component, but from an aura component ...
user avatar
2 votes
2 answers
734 views

Error: Syntax error. Missing ')' for CASE Statement

I've created a text formula field, but I've been hitting a wall with the CASE portion of the formula: I keep getting the "Error: Syntax error. Missing ')'" message. Here's what I created: Account....
user avatar
0 votes
2 answers
1k views

Flow builder - Style

I am currently working on a flow and I would like to make some style changes. The tool is pretty cool but seems very hard to customize. Is it possible to customize the style of a flow? if yes How ? ...
user avatar
  • 433
0 votes
1 answer
209 views

Creating and downloading a text file on a Visualforce page

I've built a visualforce page that has a button that creates and stores a text file as an attachment on a custom object. I'd like for this text file to be available as a download link on the ...
user avatar
-1 votes
1 answer
37 views

Show Date selected in Filter in separate text boxes [closed]

There is requirement to show Date range selected in seperate text boxes. For example if i have a Select list filter for Dates and i have selected date range between 01/01/2019 and 12/01/2019, i also ...
user avatar
0 votes
1 answer
632 views

How to display Month in TEXT format using SQL query in marketing cloud?

I create one Data Extension name is 'TEST' using Day, Month and Year fields. I have done this scenario in number format. But I need to Display Month in Text format. How is it possible? please anybody ...
user avatar
  • 33
2 votes
0 answers
193 views

Position cursor at beginning of text on edit mode

I'm working with assistive technology, a page reading device for blind and low sight people. Problem I'm having is when they go to edit a page, Account for example, and they tab to text box (long text)...
user avatar
  • 33
1 vote
0 answers
128 views

Voice to Text transfer in apex Visualforce Page

I have a requirement to convert voice to text for searching purpose. I am trying to have this below page in an iframe inside Visualforce page. It is working. Problem is that I need to modify the ...
user avatar
  • 2,900
2 votes
0 answers
48 views

problem displaying hebrew (right to left) last character on text fields

We use Hebrew characters in our Salesforce org. Whenever there is a symbol character (!,. etc) as the last character of the line, it displays as the first character: You can see at this picture that ...
user avatar
  • 4,769
1 vote
2 answers
475 views

Formula Help - Multiplying using Number and Text fields

I need to alter this formula to include a text field (The text field displays a number) IF((ISPICKVAL(Louvre_Calculator__c, "215mm Louvre Calculator")), (Pivot_mm__c - 4)-(**2*60**), (Pivot_mm__c - ...
user avatar
0 votes
1 answer
390 views

Custom Formula Field that uses a Text Field but needs to be compared to Greater than or less than signs?

I have a custom field that is a text field, Height__c (It was set as a text field from the start, not sure why) Height__c needs to be compared to a couple of statements: If height__c is >10" call ...
user avatar
  • 189
0 votes
2 answers
177 views

Is it possible to show alert box on standard object

Scenario is there is case object there is no any visual force page or trigger. i need to show alert box when user is edited the record of employeeId this is text field show alert message that "this ...
user avatar
  • 1,298
2 votes
1 answer
2k views

Using encrypted fields in SOSL query gives in 0 results

My org has Classic encryption and I have a encrypted field in contact object. I am trying to use that field in SOSL. FIND {123456789} IN ALL FIELDS RETURNING CONTACT(NAME) This is returning 0 ...
user avatar
  • 1,375
0 votes
1 answer
889 views

encrypted password to plain text password Using 3DES algorithm [closed]

How to convert encrypted passwod to plain text password? please any one give some idea for this. I have a AES256 algorithm as given below. I need 3DES algorithm . Blob cryptoKey = Crypto....
user avatar
  • 347
0 votes
1 answer
549 views

Want text to speech functionality in visualforce page

I am in need to convert the text contained in a textbox to be converted to a speech which should be played on the click of a button. Right now, I do not have any clue about how to achieve the same. ...
user avatar
2 votes
1 answer
417 views

Date Formula - Want a Start to End Date Formula Field

I want to have a formula field that displayes the Start Date of an event to the End Date of an event, i.e (01/01/2017 - 31/12/17) - Like this But when I try to make it like this I can't as the dash ...
user avatar
  • 23
2 votes
1 answer
964 views

sObject.get(fieldname) detects changes from null to blank?

I was writing a utility class which can give the names of the fields that changed during an update trigger (I have a specific set of fields that i want to track, not all fields). My code snippet is ...
user avatar
0 votes
1 answer
121 views

Blank text field populates on selecting specific value in picklist

Scenario: Project state is the dependent picklist on the country picklist, for Countries which do not have states/have some other state which is not listed in the state picklist, user selects "Other" ...
user avatar
3 votes
2 answers
4k views

Increase length of custom text field when the field has data

I have a custom field on a custom object having text length 50. This object already has about 10K records. My requirement here is to increase the text length to length 255. But I am not sure if I do ...
user avatar
1 vote
2 answers
3k views

Formula for IF statement with NOT CONTAINS error

I am having issues with a formula that uses NOT(CONTAINS and AND below: IF(NOT(Contains("House:platform SF.API:Chris:NULL",Business_Manager__c)),Business_Manager__c, IF(CONTAINS("House:platform ...
user avatar
  • 215
0 votes
1 answer
60 views

Text Field Update not Populating Case Description Long Text Field

I'm trying to create a Field Update Workflow where once the new case is generated, the description of the case will include text that shows: First item Second item Third item Fourth item
user avatar
0 votes
1 answer
164 views

Custom Setting field type issue. Multi line text?

I have a custom setting field of Text type. I ran out of 255 characters which salesforce provides. How to add multi line text ?
user avatar
4 votes
1 answer
94 views

Ghost Text in Apex Class Editor [duplicate]

I seem to have turned some weird setting on in Salesforce that "highlights" the line of code that the cursor is currently at. Whatever it is, it doesn't work very well and covers up text that I need ...
user avatar
  • 345
1 vote
2 answers
3k views

Assign selected picklist value as a default value to my Text field?

I want to assign selected picklist value as a default value to my Text field. I am having a Select_Option__c field on Lead and a Enter Detail text field. I also want to add the selected value of ...
user avatar
0 votes
1 answer
200 views

popup mesg whenever user logged into salesforce

Hi I want display a popup message,when ever user logged into salesforce,please help,thanks in advance
user avatar
  • 706
1 vote
1 answer
3k views

Use Less than and greater than workflow criteria with text field

I have an issue. A custom text field is created to store survey score number. Now I have to setup a flow rule when score is less than 5. A case should be created and assign to account owner. My ...
user avatar
-1 votes
1 answer
77 views

REGEX expression generation

I have to restrict below entries by REGEX function in validation rule. Please let me know how to do that. I am unable to replicate the case. I need to put that part in below Validation Rule. String ...
user avatar
  • 2,900
1 vote
1 answer
158 views

Binding Dynamic Values With Google's Dynamic Outlined Text With Icon

We all know standard salesforce doesn't allow colored texts. If we want to go with colored text we must create visualforce page. But if we use google charts api's dynamic outlined text format in ...
user avatar
0 votes
0 answers
120 views

Click on Text field should redirect to a new Page

I have a formula field which uses Hyperlink. Click on it will navigate to a new VF Page. It is working fine. But due to some unavoidable reason I can't place that field in a page layout. I have a text ...
user avatar
  • 2,900