Questions tagged [text]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
24 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-...
0
votes
1answer
26 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 ...
0
votes
2answers
31 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<...
0
votes
1answer
17 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.
0
votes
1answer
155 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 ...
0
votes
1answer
24 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 ...
0
votes
1answer
57 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 ...
0
votes
1answer
31 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 ...
2
votes
1answer
434 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, ...
1
vote
0answers
143 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 ...
2
votes
1answer
46 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 ...
1
vote
1answer
161 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, ...
0
votes
1answer
170 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 ...
1
vote
0answers
99 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 ...
0
votes
2answers
610 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 ...
0
votes
1answer
211 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 ...
-3
votes
1answer
3k 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 ...
1
vote
1answer
2k 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 ...
1
vote
0answers
27 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 ...
2
votes
2answers
529 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....
0
votes
2answers
698 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 ? ...
0
votes
1answer
130 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 ...
-1
votes
1answer
30 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 ...
0
votes
1answer
455 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 ...
2
votes
0answers
130 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)...
1
vote
0answers
121 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 ...
2
votes
0answers
36 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 ...
1
vote
2answers
325 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 - ...
0
votes
1answer
144 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 ...
0
votes
2answers
144 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 ...
2
votes
1answer
1k 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 ...
0
votes
1answer
828 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....
0
votes
1answer
531 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. ...
2
votes
1answer
361 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 ...
2
votes
1answer
801 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 ...
0
votes
1answer
114 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" ...
3
votes
2answers
3k 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 ...
1
vote
2answers
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 ...
0
votes
1answer
57 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
0
votes
1answer
110 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 ?
4
votes
1answer
72 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 ...
1
vote
2answers
2k 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 ...
0
votes
1answer
83 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
1
vote
1answer
2k 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 ...
-1
votes
1answer
64 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 ...
1
vote
1answer
143 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 ...
0
votes
0answers
90 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 ...
3
votes
1answer
964 views

Find last occurence in text formula

I need to find the last occurrence of the character comma for retrieve last word of a text field. Example. Text field: Discovery 3.0 SDV6 188KW Diesel (HP) SE, Italy ITA, HSVH/350HG, **2012** The ...
2
votes
2answers
2k views

How can I escape a double quotation mark in VisualForce context?

I am trying to process a string before displaying it in a visualforce page. What I need to do is remove any quotation marks in the text field before I use it to assemble a link path. The following ...
1
vote
1answer
46 views

How can I identify a code in a text field and report on it?

I am sorry about this very basic question but I am very new to Salesforce. I have a text field in which users report a status (RLR1, RLR2, RLR3) together with a free text, e.g. RLR1 Alert since ...