Questions tagged [text]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
36 views

Change from text type to date type in Data Stream in Data Cloud

Data Stream in Data Cloud wants to create Formula Fields and convert existing text-type columns into date types. The value of the column in the existing text format is '20231101', and we tried three ...
user141349's user avatar
1 vote
1 answer
70 views

Flow Formula Returning Null

I have a CSV file with a Date of Birth field in the format of "MDDYY" or "MMDDYY". I'm importing with Data Loader to a Text field, which triggers a Flow to fire upon record ...
Snowlian's user avatar
0 votes
1 answer
150 views

Formula to restrict text field inputs?

I need to validate input on a screen flow's text field so that only "EB, EO, GA" are acceptable inputs from the user (Normally I'd just use a picklist but the client wants to leverage an ...
stormy's user avatar
  • 25
0 votes
0 answers
150 views

Converting text to number

I am trying to create a new field and convert a text to a number but am getting this error (Error: text__c may not be used in this type of formula) when using this formula (Value(text__c)). The ...
Vicky's user avatar
  • 1
-2 votes
2 answers
141 views

Salesforce SMS solution

Is there a free salesforce native text messaging tool that can send sms to the person from salesforce? I did some research and found a few that we ll have to buy.
anon's user avatar
  • 1
-3 votes
1 answer
69 views

Find text between @ and Space in a Message with Process Builder [closed]

I have text that is something like this: sample text @dave more sample text I need to just parse out and find "dave" To clarify, I just have not used LEFT, RIGHT and LEN much so I am ...
Troy's user avatar
  • 1
0 votes
0 answers
27 views

How to concatanate text into a bigger field?

I need to keep some kind of a log system. In one text field the users will enter text, and once saved, the data will be concatanted to a bigger text field with [usercreate] and the entrytextfield will ...
Saariko's user avatar
  • 5,581
2 votes
1 answer
286 views

Removing Text from Case Description

I created the following trigger to extract lead information coming into Salesforce from G2. I have been able to extract the value that comes after each line that I declare using contains but I need ...
andrew's user avatar
  • 149
0 votes
2 answers
10k views

Adjust the width of input field type text in LWC

<div> <lightning-input type="datetime" name="input5" label="Start Date:" value={earliestDate} min={minEndDate} max={maxEndDate} onchange={handleDateChange} ...
SfdcBat's user avatar
  • 4,761
-1 votes
1 answer
730 views

Adjust position in LWC [closed]

can you help me move this text box to the other side? I can't find what slds or css is needed to achieve this. Thanks in advance. <lightning-card title="Wallet" icon-name="custom:...
4th Game Account's user avatar
0 votes
1 answer
598 views

Formula for getting last number in a text string

I have a text field and I need to extract the last number in that text field. The field will be a mix of numbers and letters but I only need the last number. e.g. hfrh4hkvn65ndfon5093456nv - should ...
Joe Hayes's user avatar
  • 372
0 votes
1 answer
1k 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....
CPS's user avatar
  • 335
0 votes
1 answer
636 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 @...
MMoo's user avatar
  • 21
1 vote
3 answers
4k 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 ...
Andrzej Broński's user avatar
0 votes
1 answer
42 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 ...
Greg's user avatar
  • 25
0 votes
2 answers
1k 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<...
SFDCUser's user avatar
0 votes
1 answer
137 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.
Mahahari's user avatar
  • 101
0 votes
1 answer
16k 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 ...
Bahman.A's user avatar
  • 808
0 votes
2 answers
2k 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 ...
Pasan Eeriyagama's user avatar
0 votes
2 answers
883 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 ...
robruf's user avatar
  • 362
0 votes
1 answer
58 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 ...
verycold's user avatar
2 votes
1 answer
2k 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, ...
Rohit's user avatar
  • 23
1 vote
1 answer
1k 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 ...
kratos's user avatar
  • 521
2 votes
1 answer
3k 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 ...
Semmel's user avatar
  • 2,272
1 vote
1 answer
2k 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, ...
CodeMonger's user avatar
0 votes
1 answer
737 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 ...
Emily's user avatar
  • 3
1 vote
0 answers
192 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 ...
Json's user avatar
  • 1,587
0 votes
2 answers
2k 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 ...
Snehal's user avatar
  • 37
0 votes
1 answer
614 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 ...
Salesforce User's user avatar
-2 votes
2 answers
14k 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 ...
david's user avatar
  • 15
2 votes
1 answer
5k 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 ...
Foo Bar's user avatar
  • 286
1 vote
0 answers
52 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 ...
user68534's user avatar
2 votes
2 answers
924 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....
Trevor W.'s user avatar
0 votes
2 answers
2k 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 ? ...
Raphael D's user avatar
  • 534
0 votes
1 answer
309 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 ...
Aleksandar Pesic's user avatar
-1 votes
1 answer
41 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 ...
Nidhi Patel's user avatar
0 votes
1 answer
1k 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 ...
Shriya's user avatar
  • 33
2 votes
0 answers
417 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)...
Paul 's user avatar
  • 33
1 vote
0 answers
160 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 ...
Testing_SFDC's user avatar
  • 2,940
2 votes
0 answers
89 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 ...
Itai Shmida's user avatar
  • 4,995
1 vote
2 answers
779 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 - ...
Quango Bruce's user avatar
0 votes
1 answer
731 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 ...
J.koh's user avatar
  • 189
0 votes
2 answers
469 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 ...
cloudZigZag's user avatar
  • 1,366
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 ...
devforce's user avatar
  • 1,543
0 votes
1 answer
964 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....
Sfdcprgmr's user avatar
  • 405
0 votes
1 answer
591 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. ...
Shobhit Saxena's user avatar
2 votes
1 answer
739 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 ...
Alex's user avatar
  • 23
2 votes
1 answer
1k 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 ...
user11287638's user avatar
0 votes
1 answer
141 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" ...
Samreen Adil's user avatar
3 votes
2 answers
6k 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 ...
stack_pointer is EXTINCT's user avatar