+ Start a Discussion
dat le ducdat le duc 

Make outputLabel and inputField display inline when using required="true"

Line break when I add required="true" to inputField. I tried some methods but it doesn't work.
Pls help, Thanks
 <apex:pageBlockSectionItem >
	<apex:outputpanel >
		<apex:outputLabel value="Name:" for="FA"/>
		<apex:inputField id="FA" value="{!Account.Name}" required="true"/>  
ShirishaShirisha (Salesforce Developers) 


I would suggest you to try the approaches provided in the below thread to achieve your requirement.


Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri