Questions tagged [apexinputfield]

The tag has no usage guidance.

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

Enter Decimal Value in an apex:input

I have a form in a Visualforce Page which inputs some data. I need to have a decimal input in the form I am using the following : <th style="word-wrap:break-word; overflow: hidden; text-...
Madhurima's user avatar
  • 1,285
0 votes
1 answer
25 views

how to capture the apex:inputField value on the front end?

I have a picklist field that I am displaying on an old Visualforce page. I want to get the value that the user selects from the drop down to conditionally render another field based on their selection....
Olivia's user avatar
  • 3,451
0 votes
1 answer
247 views

onclick event in Apex:inputfeild is not calling javascript function

not able to call javascript function from apex:inputfeild in visualforce page function getEmail(Emailfeild) { alert('sam'); var Email = document.getElementById(...
sampath kodithyala's user avatar
0 votes
1 answer
82 views

VF Page: Why does the cursor land on a specific custom date field by after page load?

Does anyone know why the cursor always lands on the same field whenever the page is loaded or reloaded? I have other Visualforce pages and other fields on the record detail page but the cursor always ...
user avatar
0 votes
0 answers
22 views

Required text areas are not rendering the required red line correctly in Visualforce

I am having trouble with apex:inputField required="true" rendering incorrectly when the bound field is long text (textArea). The red required bar extends below the control in Chrome and Edge....
user4978's user avatar
  • 349
0 votes
1 answer
266 views

Visualforce User Lookup to fetch Partner users

I need to Lookup a Partner User from my VF page for which I leverage the Standard Salesforce lookup and use apex:inputField and point to Account.Owner field. Here is a trimmed version of my VF which ...
SFDC Dev 27's user avatar
1 vote
1 answer
661 views

Visualforce inputField Isn't Saving to Variable

Here's the piece of my markup that includes the inputField: <apex:form > <apex:pageBlock mode="edit" rendered="{!reportAppRendered}"> <apex:inputField value="{!...
Gabriel Rivera's user avatar
1 vote
2 answers
274 views

Lookup in visualforce page ignores "my recent item"

I have a lookup field in visualforce page, and upon selecting a value from "my recent item" it should populate that value in the lookup field. But, instead, it throws "Error: Multiple items found. ...
naruto-sfdc's user avatar
1 vote
1 answer
2k views

How to increase width of apex:inputfield for case owner field

Below is the simplest version of VF page where I want to increase the width of Case Owner input field: <apex:page standardController="Case"> <apex:form > <apex:inputField ...
C0DEPirate's user avatar
  • 1,599
0 votes
0 answers
329 views

apex:inputField not correctly rendering

I use some apex:inputField components in my visualforce page but suggestion menu does not render correctly: This is my code: <apex:page standardController="Campaign" extensions="...
clemtoy's user avatar
  • 101
0 votes
2 answers
2k views

apex:inputField not binding value to controller

I'm trying to update an Account from a visualforce but so far I haven't managed to be able to save the changes. I'm using apex:inputField for the user interface but when I try to save the values they ...
Carlos Jiménez's user avatar
0 votes
1 answer
2k views

Unable to use apex:inputFile with Javascript?

I just created a VF page that lets a user to upload an image to Salesforce. My final goal is to print the image width and size to the console with the script below: <script> $(document)....
Json's user avatar
  • 1,587
6 votes
1 answer
5k views

VisualForce page with SLDS: apex:inputField lookup button way too big

I have the following piece of code: <div class="slds-p-horizontal--small slds-size--5-of-12"> <label class="slds-form-element__label" for="select-01">Campaign</label> <...
Diamundo's user avatar
  • 269
1 vote
2 answers
157 views

Task ActivityDate - Behaviour in Visualforce

For a number of apex:inputfields in Visualforce, I'm suppressing the Salesforce date picker and using the browser based one. I'm experiencing odd behaviour when attempting to do so on the Task ...
Bigears's user avatar
  • 1,111
1 vote
1 answer
59 views

InputFields don't appear on some parts of the page, even though they do elsewhere

I have a visualforce page which has a couple page block sections (under pageblock > form), and is meant to have inputs within those sections. For some reason, the input fields will appear in the first ...
user28144's user avatar
  • 167
0 votes
1 answer
202 views

How can I pass input parameters into a hyperlink?

I'm a beginner in Visualforce pages & Apex. I'd like to use the inputfield value that is entered by user in order to pass it through an URL as a parameter. The URL would look like : "http://<...
Eric Pho's user avatar
1 vote
1 answer
6k views

Visualforce input type date picker field

I am using date type field as Input type where serviceAssetItem is an instance of a wrapper class as follows: <apex:pageBlockTable value="{!ServiceAsset}" var="serviceAssetItem" id="assetListTable"...
Santanu Boral's user avatar
1 vote
1 answer
69 views

Is there a way to put help link closer to apex:inputField in a pageBlockSection

My Visualforce page screenshot looks like this: As you can see, Find endpoint in Vision6 is a help link for the endpoint field, so I would like to make it closer to the inputField. However, I do ...
Lance Shi's user avatar
  • 13k
3 votes
1 answer
467 views

Set a inner wrapper value bound to an inputfield during "onchange" event

I currently have a complex but structured object for my visualforce page. The object itself has multiple wrapper objects within itself, currently about 3-4 deep. For example: public class ...
Xtremefaith's user avatar
  • 4,540
3 votes
1 answer
2k views

show placeholder in inputField Tag , throwing error Unsupported attribute placeholder in <apex:InputField>

Showing Error Unsupported attribute placeholder in <apex:page> <apex:form> <apex:InputField value="{!con.firstName}" styleclass="slds-input" ...
Vipin Indora's user avatar
2 votes
1 answer
266 views

how to show contact inputField in popup window [closed]

page <apex:page controller="democlass"> <apex:form> <style type="text/css"> .custPopup { background-color: white; border-...
Vipin Indora's user avatar
3 votes
1 answer
363 views

In a form I have two fields. One OR the other is required. Can I do this with VF/Apex?

I know I could completed this on the front end or with some JS, but I am already using the required attribute on the apex:inputField for all the other fields, so it would be nice if I could make this ...
notthehoff's user avatar
0 votes
1 answer
1k views

How to get multiple values in a single input field in vf page in salesforce?

How to get multiple values in a single input field in vf page in salesfroce? something like this <apex:inputField value="{!LeadFValues.{!value}}" />
Cloud Techie's user avatar
2 votes
3 answers
2k views

Mult-select picklist styling in Visual Force page

I am trying to use the standard right-left multi-select picklist in my VF Page so it looks something like this: I have tried this: <apex:inputField value="{!Request_for_System_Change__c....
Our Man in Bananas's user avatar
-1 votes
1 answer
1k views

how to make a inputfield as required?

i have two table.one with apex tag another with HTML tag.in the both table i need my fields as required.eg:i want to make my input field as required.so am giving required="true" in .but while giving ...
Mahi's user avatar
  • 63
1 vote
3 answers
1k views

How do I rerender just one <apex:inputField>?

We have this simple structure <apex:pageBlock> <apex:pageblocksection title="Personal Details"> <apex:inputfield value="{!acc.Name}" /> <apex:inputfield value="{!acc....
Willem Mulder's user avatar
0 votes
2 answers
2k views

Making field required based on user input on other input field?

<td><apex:inputField value="{!child.batchObj.Asked_Qty__c}"/></td> <td><apex:inputfield value="{!child.batchObj.Quantity__c}" required="{!child.batchObj.Asked_Qty__c=0}...
Teja's user avatar
  • 1,412
3 votes
1 answer
1k views

Issues saving apex:inputfield values to object in controller. Only last field on form saves value

Here's my issue: As per code below, I am trying to display a number of fields dynamically and then allow the user to enter values and save the record (or update it if they are viewing an existing ...
Chris Staikos's user avatar
0 votes
1 answer
3k views

Make Lookup fields read only on a VF page

I have a VF page for creating a new record for a custom Object. It looks like this There is a lookup to Service_Contract__c. I needed to autopopulate it (which was the whole reason behind creating ...
user2957592's user avatar
2 votes
1 answer
591 views

Does tablesorter( plugin-jquery ) work on apex:inputfield? [closed]

I am trying to imlement tablesorter but its not working properly on apex:inputfield. Here is my sample code.. <apex:page standardController="Lead" recordSetVar="leads" tabstyle="lead" sidebar="...
Setu Somani's user avatar
2 votes
1 answer
2k views

apex inputCheckbox required=TRUE not working

I have an with required="TRUE". For some reason it isn't getting throwing error even if I save it without checking the box. Here's the VF Code. <apex:outputPanel styleClass="margin-t3" ...
sfdcFanBoy's user avatar
  • 4,055
0 votes
2 answers
171 views

Disable an inputField (when a sObject record is readonly in the user assigned Profile)

I want to make an inputField disabled when a sObject record is read-only for a user. Tried using Disabled property but it doesn't support for inputField. I have two doubts:- 1. How to check if the ...
Tinkerbell's user avatar
0 votes
2 answers
483 views

Using inputField to set SObject list item in Controller

So I've been working on this project on and off for quite a while and have finally hit a crossroads. I have a custom controller and visualforce page I wrote to act as an input form. The form is ...
Andrew Bettke's user avatar
1 vote
0 answers
123 views

File uploader doesn't work in Android but works in IOS

I have a requirement where I have to upload the mobile photo into Account's object under the Notes & Attachment section. For this I have written an Apex code where I used Input file tag , below ...
Nagaraj's user avatar
  • 31
3 votes
1 answer
374 views

InputField with lookup relationship not working within a table

My issue is after putting a lookup input field into a table, although it displays properly and by clicking the lookup button it can successfully open the lookup dialog, it can't select - When I click ...
Lance Shi's user avatar
  • 13k
3 votes
2 answers
984 views

Unable to hide a rich-text input field with jQuery

I am trying to make a pageblocktable that can be edited when clicking an "edit" button. I tried to initially use inlineEditingSupport, but it only worked for text. If I tried to edit an image or ...
chham's user avatar
  • 31
0 votes
1 answer
1k views

How to convert Salesforce rich text editor to a “full mode” editor..?

I want to use full mode editor on Visual force page in Communties
Sachin Arora's user avatar
2 votes
0 answers
354 views

I want to add name attribute to the apex:inputField

I want to add name attribute to the apex:inputField as this input wield will be converted to input when a VF run. So I want to display the field name inside the textbox. I tried with input it works ...
Anu's user avatar
  • 3,835