Hi,
I have an InfoPath form, I want to hide 'Submit' button, once the user submits it to his supervisor. Supervisor dont need 'Submit' button.
Is there any way to hide it without code? Anyway, I am using this below code. But, it is not working for the single button. Like, Submit and hide.
public void CTRL25_15_Clicked(object sender, ClickedEventArgs e){
XPathNavigator Hidevalue = this.MainDataSource.CreateNavigator().SelectSingleNode("/my:myFields/my:DO", this.NamespaceManager);
Hidevalue.SetValue("1");
}
Any suggestions will be appreciated.
Cheers, R.