4
votes
Accepted
How to increase width of apex:inputfield for case owner field
For lookup fields, the styling will get placed in a <div> wrapper element and not directly on the input itself. What you will have to do is put a styleClass on your field, which will get placed ...
4
votes
Accepted
apex:inputField not binding value to controller
You have multiple forms on your page. You button is in a separate form so when you submit it does not grab the value from the input fields in the other form.
Wrap you entire code in the form as ...
3
votes
Accepted
Visualforce inputField Isn't Saving to Variable
You're refreshing selectOptionApp from the database every time saveMultiAppSelect() gets called:
selectOptionApp = [SELECT Id,Reported_Issue__c,Issue_Reported_Date__c,Issue_Reported__c FROM ...
3
votes
How can I pass input parameters into a hyperlink?
Here's an approach - no controller code required
Use apex:actionSupport to transmit change in batchDate to controller and refresh the commandButton
Use URLFOR and especially the third argument to ...
2
votes
Visualforce input type date picker field
You might go to jQuery UI path as mentioned Adrian, but quite a bit of work to be honest.
It's a bit ugly, but you could maybe use an existing custom object in your wrapper class that have a date ...
2
votes
Accepted
VisualForce page with SLDS: apex:inputField lookup button way too big
Lightning design system do not supports apex input filed. Try to create custom CSS styles for lookups and other field types
1
vote
Accepted
how to capture the apex:inputField value on the front end?
Found it - the JS function should be looking to the event.currentTarget.value rather than taking in the input and textId
1
vote
Accepted
onclick event in Apex:inputfeild is not calling javascript function
There's no need to use ID values here, just use event.target:
<apex:inputfield required="true" onclick="getEmail(event)" value="{!IBI_TM_Applicants__c.Email_ID__c}">...
1
vote
Accepted
Unable to use apex:inputFile with Javascript?
This is a common problem. Visualforce prefixes your ids, so you need to use a different selector. The simplest and best practice would be to use a class selector instead:
<apex:inputFile ...
1
vote
Accepted
InputFields don't appear on some parts of the page, even though they do elsewhere
You have missed the apex: namespace in your inputfield here, also you are wrapping more than 2 child elements inside the pageblocksectionitem. once you add the apex: namespace the page may complaint ...
1
vote
Is there a way to put help link closer to apex:inputField in a pageBlockSection
Wrap it in an outputPanel
<apex:outPutPanel layout="inline">
<apex:inputField value="{!conn.End_point__c}" style="width: 300px"/>
<a href="http://www.vision6.com.au/...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
apexinputfield × 38visualforce × 32
apex × 8
inputfield × 5
lookup × 4
javascript × 2
css × 2
jquery × 2
date × 2
slds × 2
read-only × 2
pageblocksection × 2
community × 1
force.com × 1
html × 1
list × 1
contact × 1
user × 1
sobject × 1
tasks × 1
fields × 1
controller-extension × 1
field-update × 1
wrapper-class × 1
rerender × 1