The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
25 views

Update list values in an input text field

I have below code to update the input text field value for OUTCOME field from the User. My list update is failing to happen without throwing any exception. Please can someone help me here? My ...
0
votes
1answer
34 views

VF Rerender auto-normalizes spaces in Text fields. Why?

I am quite sure that I have not seen this behavior before. So it might be a platform bug (or feature). This page below displays 3 text fields that are bound to an Accounts text field. If the user ...
0
votes
1answer
44 views

Lookup Window From SelectList Option

Here's the deal: I have a search field that searchs the object selected from the list, presenting the results below in a table. But in my next step, i want to add the lookup icon next to the text ...
0
votes
2answers
63 views

Reset search results and clear the search text using a button click

I want to clear the inputtext used to search, and clear all search results using a commandbutton. I tried the following on the 'Reset' button I added but it only clears the inputtext and the search ...
0
votes
1answer
44 views

Remove certain functionality from Rich Text Area field in Salesforce UI

I have added a Rich Text Area field to an object in Salesforce. Is it possible to remove the Hyperlink and Attach Image buttons in the Salesforce UI? I want my users to be able to use all of ...
0
votes
1answer
70 views

need to validate a input text field

I have a input text field for search option. when the input field is empty or contain a single character i need to throw a error message "Input box must contain atleast two characters" my VF: ...
0
votes
2answers
523 views

How to make <apex:inputText> field as read-only using js/jquery

I have a requirement like, when the end user clicks on the list of users, then an input text field should get populated. the input field should be non-editable. lets say the input field value is ...
1
vote
2answers
37 views

Saving an empty Rich Text Field, but it is returning <br> in the UI

I have recently added a Rich Text Field to an object, the field is not mandatory when creating a new object. It has a minimum character limit of 10 (I'm not really sure what the character limit is for ...
1
vote
1answer
99 views

pressing enter on inputText does not trigger commandButton

<apex:form styleClass="container"> <apex:actionRegion > <div class="col-md-3 col-sm-5 col-xs-5 input-group"> <apex:inputText value="{!searchString}" ...
4
votes
1answer
103 views

How to avoid security risks with escape=“False” in output tags

Ok, say for example the output we need on the page must include HTML tags and we want to avoid any security risks..... Scenerio 1: No user input, string is completely generated by apex code and ...
0
votes
1answer
48 views

How can setup automatic word wrapping for apex inputField or apex inputText?

I try to use a apex inputField or apex inputText Control, but the Text is shown still centered and in one single Line/Row. What do i have to change that the Text starts from the Left-Top-Side and ...
0
votes
1answer
98 views

Make enter key execute controller method

I have an inputText being used as a search bar along with a commandButton that when pushed executes the search method in my controller. What I would like to add is that when the user pushes the enter ...
2
votes
3answers
82 views

search bar accessing apex controller variable in javascript

<apex:inputText id="searchBar" value="{!nameSearch}"/> <apex:commandButton value="Search" action="{!search}" rerender="Everything" status="statusId" onclick="if({!nameSearch}.length() < ...
1
vote
2answers
66 views

Is it possible to write an interactive Apex Console Script?

Is it possible to write an Apex script which will ask the user for input? Something like: System.out.print("Enter your name: "); String name = input.nextLine();
4
votes
4answers
3k views

Visualforce: apex:inputText - restrict input to numbers only

How to restrict apex:inputText to take number values only?
6
votes
3answers
2k views

How to force number format on apex:inputText

Background We have an org that has advanced multi-currency activated. Since this feature is activated we are not enabled to use apex:inputField on currency fields. Instead of this we are using ...
2
votes
3answers
940 views

apex:inputText and apex:outputLink issue

I am using inputText to capture user input and then this input needs to be passed to a URL as a parameter. I am using the following code: <apex:form > <apex:panelGrid columns="2" ...
1
vote
1answer
78 views

unable to validate a field to show error message

I am unable to validate a field where if user enters a value in a text fields it must show error message data is not accepted
6
votes
1answer
3k views

Input placeholder in Visualforce page

How to show a default value in apex:inputText so that when user enters the text box the value should disappear like it does in this HTML: <input type="{!username}" id="username" ...
3
votes
2answers
422 views

Validation rule to pass a Value to a text field by validating another text field

I am having two textfields consider A and B. When i enter a value for B, the corresponding value should be passed in Field A. FOR EXAMPLE : Field A is Dependant on Field B Values IF Field A IS ...
5
votes
2answers
2k views

VisualForce page to allow inline editing of EmailTemplate HTML

Thanks for taking a look at my problem. I am building a VisualForce page to email all CampaignMembers associated with a Campaign record. Everything is working except for one little thing: I have an ...
5
votes
2answers
2k views

Change the height of a Richtext field rendered with <apex:inputField>

I am using <apex:inputField> to display a richtext field on my VF page as I found out that the "Upload Images" functionality only exits when I render those fields not with <apex:inputTextarea ...
1
vote
4answers
312 views

<apex:inputText> changes ID and Name

I have a simple form where I need the input box to have the name and id in it. http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_inputText.htm As the docs says, this: ...
8
votes
2answers
560 views

apex:pageMessages includes the entire component tree path for a apex:inputText with required=“true”

I have a Visualforce page that contains an apex:inputText with required="true". It is nested within several component levels, such as a apex:pageBlockSectionItem, apex:pageBlockSection, apex:pageBlock ...
3
votes
1answer
4k views

Style apex:inputText as required within apex:pageBlockSectionItem

I have a number of fields that I'm binding to within a pageBlockSection. In most cases I can use an inputField to get the standard Salesforce presentation. However, one of the required fields I want ...