Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [apexinputfield]

The tag has no usage guidance.

0
votes
1answer
42 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="{!...
0
votes
0answers
40 views

Make field required by using javascript in Visualforce page

I have a requirement where I store a value in a javascript variable, and based on that JS variable I want to make an inputField required. I referred the below link, but javascript was not used. how ...
1
vote
2answers
83 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
1answer
790 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
0answers
194 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
2answers
706 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
1answer
942 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)....
5
votes
1answer
3k 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
2answers
79 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
1answer
43 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
1answer
73 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://<...
0
votes
1answer
3k 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
1answer
58 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
1answer
290 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
1answer
1k 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
2answers
521 views

Workaround to dependent multiselect picklists in Visualforce Pages

We've come across an issue wherein the dependent multiselect picklist (Deliverables__c) field we have on one of our custom objects (Task__c) doesn't show up correctly in our visual force page when ...
2
votes
1answer
99 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
1answer
92 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
1answer
974 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
3answers
970 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
1answer
912 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
3answers
686 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
2answers
1k 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
1answer
997 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
1answer
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
1answer
499 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
1answer
896 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
2answers
141 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
2answers
335 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
0answers
96 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
1answer
327 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
2answers
679 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
1answer
897 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
0answers
301 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 ...