Questions tagged [apexinputfield]
The apexinputfield tag has no usage guidance.
36
questions
0
votes
1
answer
59
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(...
0
votes
1
answer
23
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 ...
0
votes
0
answers
20
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....
0
votes
1
answer
193
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 ...
0
votes
1
answer
479
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="{!...
1
vote
2
answers
179
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. ...
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 ...
0
votes
0
answers
303
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="...
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 ...
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)....
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>
<...
1
vote
2
answers
128
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 ...
1
vote
1
answer
49
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 ...
0
votes
1
answer
132
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://<...
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"...
1
vote
1
answer
67
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 ...
3
votes
1
answer
414
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 ...
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"
...
2
votes
1
answer
215
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-...
3
votes
1
answer
232
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 ...
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}}" />
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....
-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 ...
1
vote
3
answers
989
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....
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}...
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 ...
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 ...
2
votes
1
answer
580
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="...
2
votes
1
answer
1k
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" ...
0
votes
2
answers
169
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 ...
0
votes
2
answers
436
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 ...
1
vote
0
answers
117
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 ...
3
votes
1
answer
372
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 ...
3
votes
2
answers
853
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 ...
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
2
votes
0
answers
331
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 ...