I am trying to rerender an inputField; but, since it has a rendered attribute, it cannot be rerendered directly. I have tried putting it in a pageblocksectionitem, but that does not work. I have put it in an outputPanel, but it then puts the label above the field, not next to it inline as the other inputFields appear on my page. I want it to appear just like the other inputFields. Can anyone help. Here is the code:
<apex:outputPanel id="endDate">
<apex:outputLabel value="End Date"
rendered="{!renderEndDate}" />
<apex:inputField id="endDateField"
value="{!newMember.End_Date__c}"
required="true"
rendered="{!renderEndDate}" />
</apex:outputPanel>
Thanks in advance.