<h:form>
<h:inputText id="subscriberName"
required="true"/>
<h:commandButton id="b1" action="#{someBean.add}" vallue="add"/>
<h:commandButton id="b2" action="#{someBean.goNexPage}" value="next Page"/>
</h:form>
is it possible that textFieldSubscriberPhone was required for b1 and was not required for b2? and how?
because when i add operation i need that subscriberName was required and when i going next page subscriberName need not to be required