The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
13 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
22 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
36 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
44 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();
2
votes
3answers
875 views

Visualforce: apex:inputText - restrict input to numbers only

How to restrict apex:inputText to take number values only?
5
votes
3answers
1k 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
539 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
45 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
2k 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
351 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
1k 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
260 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: ...
6
votes
2answers
461 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 ...
2
votes
1answer
3k 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 ...