button disabled upon option button selection

i ahave an infopath from which contains a button ( submit ) and an optio button with values( approved & not approves).
i need to make a conditional formating that will disable this sbmit button if the option button selection is "not approved" & enable it when the option button selection is approved.
HassanayAsked:
Who is Participating?
 
CloudedTurtleConnect With a Mentor Commented:
Set the conditional formatting on the button so that "Option Field" is equal to "Not Approved" and check the "Disable this control" check box.

InfoPath-Button-Condition.png
0
 
HassanayAuthor Commented:
thanks
0
All Courses

From novice to tech pro — start learning today.