I am using to get as input certain values. I have set the 'required' attribure of inputText to 'true' but unfortunately, if i do not enter any value to the field then no error shows up.
here is what a piece of my code looks like:
<apex:pageBlockSection >
<apex:pageblockSectionItem >
<apex:outputlabel for="Address_Line1">
Address Line 1
</apex:outputlabel>
<apex:panelGroup >
<apex:inputText id="Address_Line1" value="{!AddrLine1}" required="true"/>
</apex:panelGroup>
</apex:pageblockSectionItem>
</apex:pageBlockSection>