+ Start a Discussion
SF7SF7 

Help Text missing on Vf page For input field

hi  

apex tag was like this previously 

 

 <apex:inputField id="ABCLOB" value="{!wrapper.ocr.ABC_Line_of_Business__c}" required="true" /> 

the the problem was on the vf page abc line of business was not appearing in a single line 

 

then i came up with this which solved my looking good on the vf page in a single line

 

<apex:pageBlockSectionItem >
<Apex:outputLabel value="ABC Line of Business" style="white-space:nowrap;"></Apex:outputLabel>
<apex:inputField id="ABCLOB" value="{!wrapper.ocr.ABC_Line_of_Business__c}" required="true" />
</apex:pageBlockSectionItem>

 

WIth this i lost my help text on the fields on VF page how to get back help text

 

Thanks 

Akhil

Best Answer chosen by Admin (Salesforce Developers) 
SFFSFF

Try this:

 

http://www.salesforcefast.com/2011/07/visualforce-help-bubbles.html

 

Basically, this should work:

 

<apex:pageBlockSectionItem helpText="Bubble Help Goes Here">
  <apex:outputLabel value="ABC Line of Business" style="white-space:nowrap;" />
  <apex:inputField id="ABCLOB" value="{!wrapper.ocr.ABC_Line_of_Business__c}" required="true" />
</apex:pageBlockSectionItem>

 

Good luck!

All Answers

SFFSFF

Try this:

 

http://www.salesforcefast.com/2011/07/visualforce-help-bubbles.html

 

Basically, this should work:

 

<apex:pageBlockSectionItem helpText="Bubble Help Goes Here">
  <apex:outputLabel value="ABC Line of Business" style="white-space:nowrap;" />
  <apex:inputField id="ABCLOB" value="{!wrapper.ocr.ABC_Line_of_Business__c}" required="true" />
</apex:pageBlockSectionItem>

 

Good luck!

This was selected as the best answer
SF7SF7

Thanks SFF totally forgot to check page block sectionitem  attributes.

 

Thanks Dude